From ba25b4e27a4a09cb76214a52f30c7943ea48bf3e Mon Sep 17 00:00:00 2001 From: Stanimir-Petev Date: Mon, 9 Oct 2023 09:48:27 +0300 Subject: [PATCH] Update graphicstest_olimex_NS2009.ino Added commented line with SPI initialization with lower frequency (30MHz) in case of usage of longer cable or UEXTx5 --- .../graphicstest_olimex_NS2009/graphicstest_olimex_NS2009.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SOFTWARE/Arduino/graphicstest_olimex_NS2009/graphicstest_olimex_NS2009.ino b/SOFTWARE/Arduino/graphicstest_olimex_NS2009/graphicstest_olimex_NS2009.ino index eb26da0..e7222b4 100644 --- a/SOFTWARE/Arduino/graphicstest_olimex_NS2009/graphicstest_olimex_NS2009.ino +++ b/SOFTWARE/Arduino/graphicstest_olimex_NS2009/graphicstest_olimex_NS2009.ino @@ -209,7 +209,8 @@ void setup() Serial.begin (115200); Wire.begin(); pinMode(TFT_DC, OUTPUT); - tft.begin(); + tft.begin(); // default SPI frequency 40MHz + //tft.begin(30000000); // lowers SPI frequency to 30MHz if you use long UEXT cable (or UEXTx5) tft.fillScreen(ILI9341_WHITE); Draw_Frame (); }