From ff472fe232f43e1dcdce611b1a05f1e223006ab0 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 31 Jul 2023 20:20:56 +0200 Subject: [PATCH] Lower default SPI Clock Lowered the default SPI clock as some displays might show glitches with the SPI frequency set above 40MHz. --- Platformio/platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platformio/platformio.ini b/Platformio/platformio.ini index 89211cc..4c70960 100644 --- a/Platformio/platformio.ini +++ b/Platformio/platformio.ini @@ -36,7 +36,7 @@ build_flags = -D TFT_CS=5 -D TFT_DC=9 -D TFT_RST=-1 - -D SPI_FREQUENCY=80000000 + -D SPI_FREQUENCY=40000000 ; 40MHz default, some displays might support 80MHz -D SPI_TOUCH_FREQUENCY=2500000 ; TFT_eSPI fonts are disabled by default ;-D LOAD_GLCD=1