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
Diff: main.cpp
- Revision:
- 4:970713d48893
- Parent:
- 3:d93153494516
- Child:
- 5:9246294b9f70
--- 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);