Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sunton_ESP32-2432S028 display.ini swapped values #1847

Open
2nice4u opened this issue Feb 15, 2024 · 1 comment
Open

sunton_ESP32-2432S028 display.ini swapped values #1847

2nice4u opened this issue Feb 15, 2024 · 1 comment

Comments

@2nice4u
Copy link

2nice4u commented Feb 15, 2024

I had to change this line here in the display.ini to get the display to work.
From: :H,ILI9341,240,320,16,SPI,1,,,,,,,,40
To: : H,ILI9341,320,240,16,SPI,1,
,,,,,,,40

Before:
PXL_20240215_145255804

After:
PXL_20240215_145346207

@miky2k
Copy link
Contributor

miky2k commented Sep 4, 2024

:H,ILI9341,320,240,16,SPI,1,,,,,21,,,40
Is ok but for working i need
:r,2

and with rotation 2

:2,88,00,00,80

rotation of display and touch screen is bad documented what i understand is that there is four rotation :0 :1 :2 :3 and with :r you choice rotation and four parameters :0,XX,YY,KK,TT apply to display and Touch.

My display.ini

:H,ILI9341,320,240,16,SPI,1,,,,,21,,,40
:S,2,1,1,0,40,20
:r,2
:I
EF,3,03,80,02
CF,3,00,C1,30
ED,4,64,03,12,81
E8,3,85,00,78
CB,5,39,2C,00,34,02
F7,1,20
EA,2,00,00
C0,1,23
C1,1,10
C5,2,3e,28
C7,1,86
36,1,48
37,1,00
3A,1,55
B1,2,00,18
B6,3,08,82,27
F2,1,00
26,1,01
E0,0F,0F,31,2B,0C,0E,08,4E,F1,37,07,10,03,0E,09,00
E1,0F,00,0E,14,03,11,07,31,C1,48,08,0F,0C,31,36,0F
11,80
29,80
:o,28
:O,29
:A,2A,2B,2C,16
:R,36
:0,48,00,00,00
:1,28,00,00,00
:2,88,00,00,80
:3,E8,00,00,00
:i,20,21
:UTI,XPT2046,S2,33,,*
CPR 00
RT
:UTT
XPT 300
RT
:UTX
MV 2 2
DBG 1
RT
:UTY
MV 0 2
DBG 1
RT
:M,156,3712,330,3847

give this result:
immagine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants