joachim willner
/
USBSerial_HelloWorld
Revision 0:2affa067e73c, committed 2012-07-03
- Comitter:
- jwillner
- Date:
- Tue Jul 03 15:37:35 2012 +0000
- Commit message:
Changed in this revision
diff -r 000000000000 -r 2affa067e73c USBDevice.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USBDevice.lib Tue Jul 03 15:37:35 2012 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/samux/code/USBDevice/#140cdf8e2d60
diff -r 000000000000 -r 2affa067e73c main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Jul 03 15:37:35 2012 +0000 @@ -0,0 +1,14 @@ +#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); + } +}
diff -r 000000000000 -r 2affa067e73c mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Jul 03 15:37:35 2012 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/7110ebee3484