HD44780 LCD driving sample (requires HC595 logic IC)

Dependencies:   TriPinLcd mbed

Files at this revision

API Documentation at this revision

Comitter:
k4zuki
Date:
Fri Jun 20 01:09:21 2014 +0000
Commit message:
poring from LCD1768_LCD3WIRE

Changed in this revision

TriPinLcd.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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TriPinLcd.lib	Fri Jun 20 01:09:21 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/k4zuki/code/TriPinLcd/#9cf8e8a3a8d6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Jun 20 01:09:21 2014 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+#include "TriPinLcd.h"
+
+Timer t;
+TriPinLcd lcd(p5,p7,p6);//clk = p7, data = p5, latch = p6
+
+int main()
+{
+
+    lcd.begin(16, 2);
+    lcd.noBlink();
+
+    lcd.printf("LCD3WIRE mbed");
+    t.start();
+    while(1) {
+        lcd.setCursor(0, 1);
+//        lcd.printf("%.0f", t.read());
+        lcd.printf("%d", t.read_us());
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Jun 20 01:09:21 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/024bf7f99721
\ No newline at end of file