This is a demonstration of using the tft display of the Cypress PSoC 6 WiFi-BT Pioneer kit. The demo displays the status of the capsense buttons, slider and user button on the tft display. Makes use of emwin, capsense and PinDetect libraries.
Diff: tft_interface/cy8ckit_028_tft.cpp
- Revision:
- 1:f8f4e789361f
- Parent:
- 0:4ad2c16b6e43
--- a/tft_interface/cy8ckit_028_tft.cpp Fri Aug 09 23:18:24 2019 +0000 +++ b/tft_interface/cy8ckit_028_tft.cpp Fri Oct 11 12:43:11 2019 +0000 @@ -27,7 +27,21 @@ #include "cy8ckit_028_tft.h" #include <mbed_wait_api.h> +#include "mbed.h" +DigitalInOut LCD_REG0(P9_0); +DigitalInOut LCD_REG1(P9_1); +DigitalInOut LCD_REG2(P9_2); +DigitalInOut LCD_REG3(P9_4); +DigitalInOut LCD_REG4(P9_5); +DigitalInOut LCD_REG5(P0_2); +DigitalInOut LCD_REG6(P13_0); +DigitalInOut LCD_REG7(P13_1); + +DigitalOut LCD_NWR(P12_0); +DigitalOut LCD_DC(P12_1); +DigitalOut LCD_RESET(P12_2); +DigitalOut LCD_NRD(P12_3); /******************************************************************************* * Function Name: DataWrite