mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-06 04:32:38 +00:00
better test for write-only shield
This commit is contained in:
@@ -42,8 +42,8 @@ void setup(void)
|
||||
ID = tft.readID();
|
||||
Serial.print("TFT ID = 0x");
|
||||
Serial.println(ID, HEX);
|
||||
// if (ID == 0x00D3) ID = 0x9481; // write-only shield
|
||||
if (ID == 0x00D3) ID = 0x9486; // write-only shield
|
||||
// if (ID == 0xD3D3) ID = 0x9481; // write-only shield
|
||||
if (ID == 0xD3D3) ID = 0x9486; // write-only shield
|
||||
tft.begin(ID);
|
||||
tft.setRotation(1);
|
||||
tft.fillScreen(BLACK);
|
||||
|
||||
Reference in New Issue
Block a user