example program for the dot

Dependencies:   mbed

main.cpp

Committer:
mfiore
Date:
2015-06-02
Revision:
0:222505173e84

File content as of revision 0:222505173e84:

#include "mbed.h"

int main() {
    DigitalOut led(LED1);
    Serial ser(USBTX, USBRX);
    
    while(true) {
        led = !led;
        ser.printf("hello world!");
        wait(2);
    }
}