James Sayer
/
C027_HelloWorld
Hello this is a test!
Diff: main.cpp
- Revision:
- 0:6021732dc364
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Apr 17 16:16:51 2015 +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); + } +}