TextLCD library for controlling various LCD panels based on the HD44780 4-bit interface
Fork of TextLCD by
Revision 11:c66fd440f283, committed 2018-03-19
- Comitter:
- zhangyx
- Date:
- Mon Mar 19 03:34:45 2018 +0000
- Parent:
- 10:b5b2b8035bbf
- Commit message:
- pin changed
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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秒