C027 Example: blinking LED

Dependencies:   mbed

Fork of C027_HelloWorld by u-blox

main.cpp

Committer:
mazgch
Date:
2013-11-06
Revision:
4:1fecbc981273
Parent:
2:4e0e24635b97
Child:
5:41b123533b79

File content as of revision 4:1fecbc981273:

#include "mbed.h"
#include "C027.h"

DigitalOut myled(LED); // on rev A you should reasign the signal to A0

int main() {
    while(1) {
        myled = !myled;
        wait(0.2);
    }
}