Hello world navleen

Dependencies:   mbed

Fork of HelloWorld by Simon Ford

Files at this revision

API Documentation at this revision

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");
+} 
+