TextLCD library for controlling various LCD panels based on the HD44780 4-bit interface

Dependencies:   mbed

Fork of TextLCD by Simon Ford

Revision:
10:b5b2b8035bbf
Parent:
9:dbeef6223e7a
Child:
11:c66fd440f283
diff -r dbeef6223e7a -r b5b2b8035bbf main.cpp
--- a/main.cpp	Fri Jul 07 15:27:16 2017 +0000
+++ b/main.cpp	Mon Oct 09 14:27:14 2017 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 #include "TextLCD.h"
 int main() {
-    TextLCD lcd(A5, A4, A3, A2, A1, A0, TextLCD::LCD20x4); // rs, e, d4-d7, model
+    TextLCD lcd(PC_13, PC_14, PC_15, PA_0, PA_1, PA_2, TextLCD::LCD20x4); // rs, e, d4-d7, model
     
     lcd.printf("Hello World!");
     wait_ms(1000); //等待1秒