for me to get my cheap 2.4 TFT to work, I add to void setup(void)
this will find your TFT ID and use it,
void setup(void) { Serial.begin(115200); uint16_t ID = tft.readID(); Serial.print("TFT ID = 0x"); Serial.println(ID, HEX); Serial.println("Calibrate for your Touch Panel"); if (ID == 0xD3D3) ID = 0x9486; // write-only shield
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
for me to get my cheap 2.4 TFT to work, I add to void setup(void)
this will find your TFT ID and use it,
void setup(void)
{
Serial.begin(115200);
uint16_t ID = tft.readID();
Serial.print("TFT ID = 0x");
Serial.println(ID, HEX);
Serial.println("Calibrate for your Touch Panel");
if (ID == 0xD3D3) ID = 0x9486; // write-only shield
change 0x3229 to ID
tft.begin(0x3229); to tft.begin(ID);
Are you sure? yes | no