- Fri Apr 29, 2016 5:48 am
#8906
I have written a library that handles the HC-SR04 Sensor using hardware interrupts. This code works fine on UNO and MEGA boards but when I load it on a Romeo V2.2 board it doesn't work at all and it blocks serial input which I use to send commands to the board during testing.
I have tried configuring the code to use PIN 3 with Interrupt 1 or PIN 2 with Interrupt 0, but neither work. Any work around or fix for this problem? Again the code works fine on other boards but hangs on the Romeo.
I have tried configuring the code to use PIN 3 with Interrupt 1 or PIN 2 with Interrupt 0, but neither work. Any work around or fix for this problem? Again the code works fine on other boards but hangs on the Romeo.