Modified hello world - usb debug message only

Dependencies:   mbed

Fork of mDot_helloworld by MultiTech

main.cpp

Committer:
kellybs1
Date:
2017-08-21
Revision:
3:f68c206a52db
Parent:
2:9682d754c902

File content as of revision 3:f68c206a52db:

/*************************************
 * This simple example program prints 
 * a message on the USB debug port.
 ************************************/

#include "mbed.h"

int main() {
    int count = 0;
    // print the message on 3s interval
    while (true) {
        count++;
        printf("Hello world! I am an mDot and I count %d\r\n", count);
        wait(3);
    }
}