mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-31 14:57:48 +00:00
correct typo on write-only test
This commit is contained in:
@@ -92,7 +92,7 @@ void setup(void) {
|
|||||||
uint16_t ID = tft.readID(); //
|
uint16_t ID = tft.readID(); //
|
||||||
Serial.print("ID = 0x");
|
Serial.print("ID = 0x");
|
||||||
Serial.println(ID, HEX);
|
Serial.println(ID, HEX);
|
||||||
if (ID == 0x00D3 == 0xD3D3) ID = 0x9481; // write-only shield
|
if (ID == 0xD3D3) ID = 0x9481; // write-only shield
|
||||||
// ID = 0x9329; // force ID
|
// ID = 0x9329; // force ID
|
||||||
tft.begin(ID);
|
tft.begin(ID);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user