Both displays functioning independently, we will use this program to bring them both into the same code.
Dependencies: SPI_TFT_ILI9341 TFT_fonts TextLCD mbed
Revision 4:970713d48893, committed 2017-05-25
- Comitter:
- JHutchinson
- Date:
- Thu May 25 11:12:30 2017 +0000
- Parent:
- 3:d93153494516
- Child:
- 5:9246294b9f70
- Commit message:
- Final display code, ready for testing.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed May 24 16:10:36 2017 +0000 +++ b/main.cpp Thu May 25 11:12:30 2017 +0000 @@ -13,7 +13,7 @@ Serial pc(USBTX, USBRX); // tx, rx // LCD instantiation -TextLCD lcd(PTC7, PTC0, PTC3, PTC4, PTC5, PTC6); // 4bit bus: rs, e, d4-d7 +TextLCD lcd(PTC7, PTC0, PTD4, PTA12, PTC5, PTC6); // 4bit bus: rs, e, d4-d7 // the display has a backlight switch on board DigitalOut LCD_LED(PTA13);