Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Designer UI » Screen is blank

Author: CarbonMan
16/12/2022 04:09:43
I am trying to generate a basic example for a wt32-sc01 device through Arduino.
Within Arduino I have the board set to esp32-wrover
I have attached the TCmenu .emf file

The screen is just white. I am using the TFT_eSPI display driver because I have used that library with other projects successfully on this device.

Not sure if there is some other information I can provide.

Thanks.

Filename wt32 display test.emf
Description No description given
Filesize 3 Kbytes
Downloaded 116 time(s)
[Disk] Download


Author: davetcc
16/12/2022 07:51:19
Have you tried one of the tft espi examples and checked that the example works? Most issues like this are board / display setup.

Author: CarbonMan
17/12/2022 07:04:16
Hi thanks for the response.

I ran the esps3tftEncoder project and got it to display (which is great). Though, I couldn't get the touch screen to work

I then compiled the esp32Amplifier project but it complained about "ILI9341_WHITE" was not declared in this scope. I guess I need to link to the ST7796 driver somehow?

Author: davetcc
17/12/2022 08:09:43
 
esp32Amplifier project but it complained about "ILI9341_WHITE" was not declared in this scope


When I'm doing my testing, I have a wider range of libraries installed, so if I have an accidental inclusion of something like that, it would work. Just replace that with RGB(255, 255, 255). Thanks for pointing out and I'll fix it.

For touch screen, there are a few supported devices that we test regularly with:

1. Two common touch libraries https://github.com/PaulStoffregen/XPT2046_Touchscreen and https://github.com/adafruit/Adafruit_FT6206_Library
2. Resistive touch screen - no library is needed for this, the support is directly within tcMenu
3. On STM32 the HAL/BSP native touch functions are supported.

It is really easy to write another driver, most of the code is broken out from the coordinate acquisition.

Author: davetcc
17/12/2022 08:11:01
An on that note, I'll add support for the TFT_eSPI touch functions directly, as many people have asked for it now. As 3.0 is being tested now its too late, I'll add it to 3.1




Register / Login  |  Desktop view  |  Jump to top of page