Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TextLCD by
Revision 10:b5b2b8035bbf, committed 2017-10-09
- Comitter:
- zhangyx
- Date:
- Mon Oct 09 14:27:14 2017 +0000
- Parent:
- 9:dbeef6223e7a
- Child:
- 11:c66fd440f283
- Commit message:
- change pinout
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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秒
