Jack Purdum
Do you have the latest Adafruit graphics library installed? Around line 1334 is the line: ? g_identifier = tft.readID(); ? ?// Get TFT ID ?3.95" = 0x9486, 3.6" = 0x9488 put these lines after it: ? Serial.print("g-ID = "); ? Serial.println(g_identifier, HEX); and see if the ID is in the program. If your number does not appear in the switch/case block (lines 1336-1460), the code by default assumes the display is a 0x154 or 0x9341. If it is not one of those, try changing g_identifier to 0X9488 and see if that works. Jack, W8TEE From: Joe <joeman2116@...> To: [email protected] Sent: Monday, June 12, 2017 9:46 PM Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? I ran it ?before. It suggests trying ?the defined option One resulted in ?id =0 and? when I tried the other option the id said ?id =8989 tft =240 x320 On Mon, Jun 12, 2017 at 10:34 PM, Vince Vielhaber <vev@...> wrote: Go to the examples for the library and run the LCD_ID example.? Have a serial monitor window open and see what they ID it as, if they do. |