ok - misses some transitions - why ? polling based interrupt based
Fork of Bootcamp-InterruptJoystick by
Diff: main.cpp
- Revision:
- 3:27ec45bc9078
- Parent:
- 2:d18857b99d3c
--- a/main.cpp Mon Oct 07 20:14:38 2013 +0000 +++ b/main.cpp Fri Oct 11 14:00:04 2013 +0000 @@ -30,7 +30,7 @@ #include "mbed.h" BusIn joy(p15,p12,p13,p16); -InterruptIn fire(p14); +DigitalIn fire(p14); BusOut leds(LED1,LED2,LED3,LED4);