From 73fe6f2ebb2a7ceaf5dfbbf6f79f4285b7406a1d 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 e4d3f9d..9617d7c 100644 --- a/Platformio/platformio.ini +++ b/Platformio/platformio.ini @@ -40,7 +40,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