Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
vcazan
Date:
Tue Jan 19 14:18:49 2010 +0000
Commit message:

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 32d8fbe583b4 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Jan 19 14:18:49 2010 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+
+Serial lcd(p13,p14);
+
+int main() {
+
+  //puts the cursor at line 0 char 0.
+   lcd.printf("%c",0xFE);
+   lcd.printf("%c",128);
+  wait_ms(100);
+  lcd.printf("CyberHades.com");
+  wait_ms(1000);
+  //clear LCD
+   lcd.printf("%c",0xFE);
+   lcd.printf("%c",0x01);
+  //turns on the backlight
+    lcd.printf("%c",0x7c);
+    lcd.printf("%c",157);
+  
+}
diff -r 000000000000 -r 32d8fbe583b4 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Jan 19 14:18:49 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/49a220cc26e0