Test program for driving the GHI Character Display module from the Outrageous Circuits mBuino platform
Dependencies: TextLCD USBDevice mbed
Revision 1:c126b5e56bd0, committed 2014-11-26
- Comitter:
- devhammer
- Date:
- Wed Nov 26 16:31:40 2014 +0000
- Parent:
- 0:271f8cc9758c
- Commit message:
- Updated TextLCD instantiation to change D7 to P0_5 to free up Serial RXD (P0_18).
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 271f8cc9758c -r c126b5e56bd0 main.cpp --- a/main.cpp Tue Nov 25 21:54:23 2014 +0000 +++ b/main.cpp Wed Nov 26 16:31:40 2014 +0000 @@ -23,11 +23,12 @@ // Uncomment the include for USBSerial.h, the USBSerial declaration, and the // pc.printf statements to enable serial debugging over USB. -TextLCD lcd(P0_10, P0_9, P0_15, P0_11, P0_13, P0_18); // rs, e, d4-d7 +TextLCD lcd(P0_10, P0_9, P0_15, P0_11, P0_13, P0_5); // rs, e, d4-d7 int main() { //pc.getc(); -// wait(5); + wait(2); + lcd.cls(); // pc.printf("Initializing...\r\n"); wait(2);