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
00001 #include "mbed.h" 00002 #include "RF12B.h" 00003 00004 DigitalOut myled(LED1); 00005 RF12B rflol2(p5,p6,p7,p8,p9); 00006 00007 int main() { 00008 00009 printf("We got to maintst! ;D\r\n"); 00010 00011 while(1) { 00012 myled = 1; 00013 wait(0.2); 00014 myled = 0; 00015 wait(0.2); 00016 } 00017 }
Generated on Thu Jul 21 2022 11:18:09 by 1.7.2