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:
parent
7f42b69562
commit
ba25b4e27a
@ -209,7 +209,8 @@ void setup()
|
|||||||
Serial.begin (115200);
|
Serial.begin (115200);
|
||||||
Wire.begin();
|
Wire.begin();
|
||||||
pinMode(TFT_DC, OUTPUT);
|
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);
|
tft.fillScreen(ILI9341_WHITE);
|
||||||
Draw_Frame ();
|
Draw_Frame ();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user