Update graphicstest_olimex_NS2009.ino

Added commented line with SPI initialization with lower frequency (30MHz) in case of usage of longer cable or UEXTx5
This commit is contained in:
Stanimir-Petev 2023-10-09 09:48:27 +03:00 committed by GitHub
parent 7f42b69562
commit ba25b4e27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 ();
}