C027 Example: blinking LED

Dependencies:   mbed

Fork of C027_HelloWorld by u-blox

main.cpp

Committer:
mazgch
Date:
2014-06-12
Revision:
6:7fe1cbb784a4
Parent:
5:41b123533b79

File content as of revision 6:7fe1cbb784a4:

#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);
    }    
}