TextLCD library for controlling various LCD panels based on the HD44780 4-bit interface
Fork of TextLCD by
Diff: main.cpp
- Revision:
- 11:c66fd440f283
- Parent:
- 10:b5b2b8035bbf
diff -r b5b2b8035bbf -r c66fd440f283 main.cpp --- a/main.cpp Mon Oct 09 14:27:14 2017 +0000 +++ b/main.cpp Mon Mar 19 03:34:45 2018 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" #include "TextLCD.h" int main() { - TextLCD lcd(PC_13, PC_14, PC_15, PA_0, PA_1, PA_2, TextLCD::LCD20x4); // rs, e, d4-d7, model + TextLCD lcd(PC_13, PC_14, PC_15, PA_0, PA_1, PB_4, TextLCD::LCD20x4); // rs, e, d4-d7, model lcd.printf("Hello World!"); wait_ms(1000); //等待1秒