Skip to content

Commit 36c3365

Browse files
committed
Adding PNG lib and tweaking the SPI speed≈
1 parent 5f88ed7 commit 36c3365

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

platformio.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ neopixel_lib = adafruit/Adafruit [email protected]
107107
gfx_display_libs =
108108
109109
bodmer/TFT_eSPI@^2.5.31
110+
bitbank2/PNGdec@^1.0.1
110111
SPI
111112

112113
gfx_display_build_flags =
@@ -131,7 +132,14 @@ gfx_display_build_flags =
131132
-D LOAD_FONT7
132133
-D LOAD_FONT8
133134
-D LOAD_GFXFF
134-
-D SPI_FREQUENCY=15999999
135+
-D SMOOTH_FONT
136+
# -D SPI_FREQUENCY=15999999
137+
# -D SPI_FREQUENCY=20000000
138+
# -D SPI_FREQUENCY=27000000
139+
-D SPI_FREQUENCY=40000000
140+
# -D SPI_FREQUENCY=55000000
141+
# -D SPI_FREQUENCY=65000000
142+
# -D SPI_FREQUENCY=80000000
135143
-D SPI_READ_FREQUENCY=20000000
136144
-D SPI_TOUCH_FREQUENCY=600000
137145
-D ENABLE_SCREEN_LCD_TFT

0 commit comments

Comments
 (0)