Skip to content

Commit

Permalink
mesh-tab: fix rotation for 3.2 IPS capacitive display
Browse files Browse the repository at this point in the history
  • Loading branch information
mverch67 committed Jan 8, 2025
1 parent 2afd1cd commit 6730793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variants/mesh-tab/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ build_flags = ${mesh_tab_xpt2046.build_flags}
[env:mesh-tab-3-2-IPS-capacitive]
extends = mesh_tab_base
build_flags = ${mesh_tab_ft5x06.build_flags}
-D SPI_FREQUENCY=40000000 ; may go higher upto 60/80 MHz
-D SPI_FREQUENCY=75000000 ; may go higher upto 60/80 MHz
-D LGFX_SCREEN_WIDTH=240
-D LGFX_SCREEN_HEIGHT=320
-D LGFX_PANEL=ILI9341
Expand All @@ -143,7 +143,7 @@ build_flags = ${mesh_tab_ft5x06.build_flags}
-D LGFX_TOUCH_X_MAX=239
-D LGFX_TOUCH_Y_MIN=0
-D LGFX_TOUCH_Y_MAX=319
-D LGFX_TOUCH_ROTATION=0
-D LGFX_TOUCH_ROTATION=2

; 3.5" IPS TFT ILI9488 / FT6236: https://vi.aliexpress.com/item/1005006893699919.html
[env:mesh-tab-3-5-IPS-capacitive]
Expand Down

0 comments on commit 6730793

Please sign in to comment.