1
TinyDuino Processors & TinyShields / Re: Triggering Arduino interrupt 1 from accelerometer slope interrupt
« on: April 03, 2015, 03:29:15 PM »
Hi Bentwookie,
Hopefully you've found the problem by now, but just in case, hear is what I've found. I loaded up your sketch and the BMA250 appears to be triggering on INT1 just fine (goes from 0 to 3 V when triggered). The issue may be with your sketch, specifically interrupt handling. CAVEAT: I'm actually using an Arduino Uno and a BMA250 breakout from DSS circuits. I probed INT1 with an oscilloscope to verify it is triggering correctly, then wired INT1 to int.1 on the UNO (digital pin 3). Works great. Good luck, and thanks for your code!
Kevin
Hopefully you've found the problem by now, but just in case, hear is what I've found. I loaded up your sketch and the BMA250 appears to be triggering on INT1 just fine (goes from 0 to 3 V when triggered). The issue may be with your sketch, specifically interrupt handling. CAVEAT: I'm actually using an Arduino Uno and a BMA250 breakout from DSS circuits. I probed INT1 with an oscilloscope to verify it is triggering correctly, then wired INT1 to int.1 on the UNO (digital pin 3). Works great. Good luck, and thanks for your code!
Kevin