4-bit Mode LCD 20x2

Dependencies:   TextLCD mbed

Files at this revision

API Documentation at this revision

Comitter:
umairaftab
Date:
Wed Mar 19 02:26:56 2014 +0000
Commit message:
LCD 20x2 Working;

Changed in this revision

TextLCD.lib Show annotated file Show diff for this revision Revisions of this file
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 157f39f309fa TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Wed Mar 19 02:26:56 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/wim/code/TextLCD/#e0da005a777f
diff -r 000000000000 -r 157f39f309fa main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Mar 19 02:26:56 2014 +0000
@@ -0,0 +1,24 @@
+// Hello World! for the TextLCD
+ 
+#include "mbed.h"
+#include "TextLCD.h"
+ 
+Serial pc(USBTX, USBRX); // tx, rx
+ 
+
+TextLCD lcd(PTA1, PTA2, PTD4, PTA12, PTA4, PTA5, TextLCD::LCD20x2); // rs, e, d4-d7 ok
+
+ 
+ 
+int main() {
+
+    
+ 
+// Show cursor as blinking character
+    lcd.setCursor(TextLCD::CurOff_BlkOn);
+    lcd.printf("Hello Plamen");
+    lcd.locate(0,1);
+    lcd.printf("Its Working Now");
+
+}
+ 
\ No newline at end of file
diff -r 000000000000 -r 157f39f309fa mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Mar 19 02:26:56 2014 +0000
@@ -0,0 +1,1 @@
+http://world3.dev.mbed.org/users/mbed_official/code/mbed/builds/824293ae5e43
\ No newline at end of file