The presence of rtos library, and line 294 in RF12B.cpp causes a crash when ISR occurs on falling edge on pin 9.
main.cpp
- Committer:
- narshu
- Date:
- 2012-03-25
- Revision:
- 0:b4c2aa657754
File content as of revision 0:b4c2aa657754:
#include "mbed.h" #include "RF12B.h" DigitalOut myled(LED1); RF12B rflol2(p5,p6,p7,p8,p9); int main() { printf("We got to maintst! ;D\r\n"); while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); } }