You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I work with PlatformIO
and the ESP-Wover-Kit 4.1
My PlatformIO.ini is like this
`
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = .
default_envs = cyd
[env]
platform = espressif32
board = esp32dev
framework = arduino
lib_ldf_mode = deep
lib_deps =
bodmer/TFT_eSPI@ https://github.com/PaulStoffregen/XPT2046_Touchscreen.git ;#v1.4
lvgl/lvgl@^8.3.6 ; align this rev with the rev used by Squareline Studio
bitbank2/PNGdec@^1.0.2
bblanchon/ArduinoJson
[env:cyd]
build_flags =
${env.build_flags}
-DTFT_INVERSION_OFF
`
So far this woks well until yesterday I have a Sketch and the display only uses 240x240 dots with the same PplatformIO.ini
it works well, what could this be.
The text was updated successfully, but these errors were encountered:
Cool Thx JimDrewGH I tried Roation without Success I copied the eSpi Folder and LVGL Folder from a working example Nope
Now I Changed this (-D tft_WIDTH=240 & -D tft_HEIGHT=320 ) in platformIO and Now it is working Thx For all the nice Tinkerer Besonderer Dank an Bodmer !
Hello I work with PlatformIO
and the ESP-Wover-Kit 4.1
My PlatformIO.ini is like this
`
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = .
default_envs = cyd
[env]
platform = espressif32
board = esp32dev
framework = arduino
lib_ldf_mode = deep
lib_deps =
bodmer/TFT_eSPI@
https://github.com/PaulStoffregen/XPT2046_Touchscreen.git ;#v1.4
lvgl/lvgl@^8.3.6 ; align this rev with the rev used by Squareline Studio
bitbank2/PNGdec@^1.0.2
bblanchon/ArduinoJson
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
upload_speed = 921600
board_build.partitions = min_spiffs.csv
build_flags =
-I./src/
-I./src/ui/
-D USER_SETUP_LOADED
-D ILI9341_DRIVER
-D USE_HSPI_PORT
-D TFT_WIDTH=320
-D TFT_HEIGHT=240
-D TFT_MISO=25
-D TFT_MOSI=23
-D TFT_SCLK=19
-D TFT_CS=22
-D TFT_DC=21
-D TFT_RST=18
-D TFT_BL=5
-D TFT_BACKLIGHT_ON=HIGH
-D TFT_BACKLIGHT_OFF=LOW
-D LOAD_GLCD
-D SPI_FREQUENCY=55000000
-D SPI_READ_FREQUENCY=20000000
-D SPI_TOUCH_FREQUENCY=2500000
-D LOAD_FONT2
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
[env:cyd]
build_flags =
${env.build_flags}
-DTFT_INVERSION_OFF
`
So far this woks well until yesterday I have a Sketch and the display only uses 240x240 dots with the same PplatformIO.ini
it works well, what could this be.
The text was updated successfully, but these errors were encountered: