lol
Fork of Application by
Diff: main.cpp
- Revision:
- 6:aef06cd11ce4
- Parent:
- 5:ee94acbf45df
- Child:
- 7:5e693654d5b4
--- a/main.cpp Thu Nov 17 16:36:10 2011 +0000 +++ b/main.cpp Wed Nov 30 11:17:49 2011 +0000 @@ -1,16 +1,14 @@ -#include "mbed.h" -#include "USBSerial.h" - -//Virtual serial port over USB -USBSerial serial; - -Serial pc(USBTX, USBRX); - -int main(void) { - - while(1) - { - serial.printf("I am a virtual serial port!\r\n"); - wait(1); - } -} +#include "mbed.h" +#include "USBSerial.h" + +//Virtual serial port over USB +USBSerial serial; + +int main(void) { + + while(1) + { + serial.printf("I am a virtual serial port!\r\n"); + wait(0.5); + } +}