Modified hello world - usb debug message only

Dependencies:   mbed

Fork of mDot_helloworld by MultiTech

main.cpp

Committer:
kellybs1
Date:
2017-08-05
Revision:
2:9682d754c902
Parent:
1:34c1fcb8ea5a

File content as of revision 2:9682d754c902:

/*************************************
 * 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);
    }
}