From 149676e44da719c7fa94cf13dba9fa51d03f62ff Mon Sep 17 00:00:00 2001 From: prenticedavid Date: Mon, 13 Feb 2017 10:35:42 +0000 Subject: [PATCH] better test for write-only shield --- examples/testcard_kbv/testcard_kbv.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/testcard_kbv/testcard_kbv.ino b/examples/testcard_kbv/testcard_kbv.ino index 27101a4..f2aa253 100644 --- a/examples/testcard_kbv/testcard_kbv.ino +++ b/examples/testcard_kbv/testcard_kbv.ino @@ -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);