Aidan Gallagher
/
System
new
Revision 0:e4c4836c31fc, committed 2015-07-03
- Comitter:
- aidanPJG
- Date:
- Fri Jul 03 13:32:31 2015 +0000
- Commit message:
- changes;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r e4c4836c31fc main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jul 03 13:32:31 2015 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + Serial pc(USBTX, USBRX); // tx, rx + +int main() { + while(1) + { + if(pc.readable()) { + device.putc(pc.getc()); + + } +}
diff -r 000000000000 -r e4c4836c31fc mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Jul 03 13:32:31 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7 \ No newline at end of file