mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Test LovyanGFX
This commit is contained in:
parent
5dd2c0a1d4
commit
c6bb59f4f9
@ -1,11 +1,11 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
; Lilygo®Ttgo Pi ESP32 with TFT 3.5" ;
|
; Lilygo®Ttgo Pi ESP32 with TFT 3.5" ;
|
||||||
; - Custom PCB with ESP32-WROVER ;
|
; - Custom PCB with ESP32-WROVER ;
|
||||||
; - IPS ili9481 LCD ;
|
; - IPS st7796 LCD ;
|
||||||
; - GT911 touch controller ;
|
; - GT911 touch controller ;
|
||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:ttgo-lilygo-pi_ili9481]
|
[env:ttgo-lilygo-pi_st7796]
|
||||||
extends = esp32
|
extends = esp32
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_upload.flash_size=16MB
|
board_upload.flash_size=16MB
|
||||||
@ -24,7 +24,7 @@ build_flags =
|
|||||||
-D TFT_WIDTH=320
|
-D TFT_WIDTH=320
|
||||||
-D TFT_HEIGHT=480
|
-D TFT_HEIGHT=480
|
||||||
;-D TFT_ROTATION=0 ; Use default, see TFT_ROTATION values
|
;-D TFT_ROTATION=0 ; Use default, see TFT_ROTATION values
|
||||||
-D USER_SETUP_LOADED=1
|
-D LGFX_USE_V1=1
|
||||||
;-D SUPPORT_TRANSACTIONS ; Default on ESP32
|
;-D SUPPORT_TRANSACTIONS ; Default on ESP32
|
||||||
-D TFT_MISO=23
|
-D TFT_MISO=23
|
||||||
-D TFT_MOSI=19
|
-D TFT_MOSI=19
|
||||||
@ -53,6 +53,7 @@ lib_deps =
|
|||||||
adafruit/Adafruit BusIO @ ^1.6.0
|
adafruit/Adafruit BusIO @ ^1.6.0
|
||||||
; GT911 touch screen driver
|
; GT911 touch screen driver
|
||||||
git+https://github.com/netwizeBE/arduino-goodix.git
|
git+https://github.com/netwizeBE/arduino-goodix.git
|
||||||
|
lovyan03/LovyanGFX @ ^0.4.4
|
||||||
|
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
${env.lib_ignore}
|
${env.lib_ignore}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user