Page 2 of 3

Re: Modul ESP32-2432S032C_I

Posted: Thu Mar 14, 2024 7:34 pm
by waldli
Hello Francesco,
It works great, thank you very much.

Best regards :D
Waldemar

Re: Modul ESP32-2432S032C_I

Posted: Fri Mar 15, 2024 5:41 pm
by waldli
Hello Francesco,
The driver for the TFT ST7789 #6 works perfectly
touch.jpg
all colors are displayed correctly.
I programmed something today and found it
that the coordinates for the TFT and TOUCH are not
are congruent. The origin of the TFT is at the top left
and the TOUCH at the bottom left.
Is it possible to set the coordinates using a command?
The TOUCH.CALIB does not work with capacitive TOUCH.

Best regards :D
Waldemar

Re: Modul ESP32-2432S032C_I

Posted: Fri Mar 15, 2024 5:50 pm
by cicciocb
Yes, I'm working on in this moment.
However, if you load again the version 1.52.3 the orientation is OK (at least in landscape)

Re: Modul ESP32-2432S032C_I

Posted: Fri Mar 15, 2024 10:26 pm
by cicciocb
Try again to download the version 1.52.3, I updated again.

As before, option,touch 1 select the capacitive touch

There is now a new function
touch.init rotation where rotation can be from 0 to 3

Please try and let me know

Re: Modul ESP32-2432S032C_I

Posted: Sat Mar 16, 2024 7:44 pm
by waldli
Hello Francesco,

I downloaded version 1.52.4 and the
TOUCH works perfectly in both directions.
With Landscape TOUCH.INIT 2
and for Portrait TOUCH.INIT 1

Good job !!!

Best regards
Waldemar

Re: Modul ESP32-2432S032C_I

Posted: Sat Mar 16, 2024 8:20 pm
by cicciocb
Good. What is your setting in the config page?
This can be useful for other users

Re: Modul ESP32-2432S032C_I

Posted: Sun Mar 17, 2024 6:03 pm
by waldli
Hello Francesco,
My settings in the config are:
-
config1.jpg
-
Also in the program is:
OPTION.TOUCH 1--> Capacitive TOUCH
I2C.SETUP 33, 32 --> SET I2C BUS for TOUCH
TOUCH.INIT 1 --> Init TOUCH direction
PWM.SETUP 27, 1, 100 --> SET background LED for TFT
When starting the ESP32, PIN 27 is low and the
background is dark.

Best regards
Waldemar

Re: Modul ESP32-2432S032C_I

Posted: Wed Apr 03, 2024 2:38 am
by Palm Liu
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Fri Mar 15, 2024 5:41 pm Hello Francesco,
The driver for the TFT ST7789 #6 works perfectly

touch.jpg

all colors are displayed correctly.
I programmed something today and found it
that the coordinates for the TFT and TOUCH are not
are congruent. The origin of the TFT is at the top left
and the TOUCH at the bottom left.
Is it possible to set the coordinates using a command?
The TOUCH.CALIB does not work with capacitive TOUCH.

Best regards :D
Waldemar
Hi, I am working on 4 inch ST7796 with capacitive touch, however, TOUCH.INIT (and touch related command) not work. When I change the LCD type from ST7796 to ST7789, TOUCH.INIT come back???

Re: Modul ESP32-2432S032C_I

Posted: Wed Apr 03, 2024 9:14 am
by cicciocb
I'm not sure but I think that the capacitive touch is enabled only when the module ESP32-2432S028 is enabled.
Otherwise you must use the command
OPTION.TOUCH 1 ' enable the capacitive touch

But, this work only with the GT911 touchscreen controller.
What is the 4" TFT ? Probably your display has an FT6236 or FT6336 controller?

Re: Modul ESP32-2432S032C_I

Posted: Wed Apr 03, 2024 2:18 pm
by Palm Liu
When I use touch.init 1
Get Syntax Error, and “touch.init” do not change color as a command word