Dear readers,
Finally I received my ILI9341 display and I wanted to use this rainy morning to get it up and running…but looking at the wiring, T_OUT should be on GPIO 39?
Here I am scratching my head, as I can’t find that GPIO 36 and GPIO 39 in my data sheet.
There are VN, VP and EN left on the higher side of GPIO pins, I’ll give it a try.
The picture ‘Wiring the TFT Touchscreen Display to the ESP32’ shows the wiring, but I can’t clearly identify the pins.
Yours,
Loetluemmel
Dear all,
Stupid me! – I started wiring as described starting on page 36 of ‘Learn LVGL Build GUIs…’ and that was wrong.
Later on the file ‘user_setup.h’ holds applied pins. Here I changed as necessary for my joyit ESP32.
The sample code did have several inconsistencies with file locations. But this was a good training for trouble shooting.
My display did stay dark. Here I simply added LED to VCC and was happy to ready the famous ‘Hello Horld!” string on my display.
My thanks to Rui and Sara for this great book!
Loetluemmel
Hi.
Can you tell me which version of the eBook you’re following
We updated the eBook a few days ago and everything was working properly… maybe I forgot to update something…
Regards,
Sara
Sure Sara,
I am on V1.3 . I didn’t check; Is there already a more recent one?
JO! – We are already on 1.4, so this is really my bad. – Sorry, I’ll download the new and will continue from there.
For all looking around to get the Joy-it ESP running with the ILI9341, here is a working config for the touch screen part:
// Touchscreen pins
#define XPT2046_IRQ 35 // T_IRQ.
#define XPT2046_MOSI 23 // T_DIN.
#define XPT2046_MISO 19 // T_OUT.
#define XPT2046_CLK 25 // T_CLK.
#define XPT2046_CS 33 // T_CS.
In addition, I need to specify a different board: ‘ESP32 Dev Module’ was required as board type.
Best,
Loetluemmel