Prototyping the Adaptable Emergency System on an C027 board.
Dependencies: C027_Support mbed
Fork of c027_prototyping by
Diff: main.cpp
- Revision:
- 0:164fb9518d1a
- Child:
- 1:23ffa0e091bc
diff -r 000000000000 -r 164fb9518d1a main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Sep 30 13:58:43 2014 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#ifdef TARGET_UBLOX_C027 + #include "C027_api.h" +#else + #error "This example is targeted for the C027 platform" +#endif + +DigitalOut myled(LED); + +int main() { + while(1) { + myled = !myled; + wait(0.2); + } +}