navleen johal
/
HelloWorld
Hello world navleen
Fork of HelloWorld by
Revision 2:e8e4daf36a29, committed 2014-09-26
- Comitter:
- navi510
- Date:
- Fri Sep 26 08:31:49 2014 +0000
- Parent:
- 1:03c191369089
- Commit message:
- navleenjohal added;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 03c191369089 -r e8e4daf36a29 main.cpp --- a/main.cpp Sun Jan 01 20:57:57 2012 +0000 +++ b/main.cpp Fri Sep 26 08:31:49 2014 +0000 @@ -1,12 +1,11 @@ #include "mbed.h" -DigitalOut myled(LED1); + -int main() { - while(1) { - myled = 1; - wait(0.2); - myled = 0; - wait(0.2); - } -} +int main() +{ + Serial device(p9, p10); + device.baud(19200); + device.printf("SJSU_CMPE127_NavleenJohal_3694"); +} +