The presence of rtos library, and line 294 in RF12B.cpp causes a crash when ISR occurs on falling edge on pin 9.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

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 }