Sample of program breaking when a certain set of source files are in a folder, but is fine when it is in the root. In this case, it is tested with RF12B.cpp, RF12B.h and rfdefs

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 rf(p5, p6, p7, p8, p9);
00006 
00007 int main() {
00008     while(1) {
00009         myled = 1;
00010         wait(0.2);
00011         myled = 0;
00012         wait(0.2);
00013     }
00014 }