¿ªÔÆÌåÓý

Re: W8TEE TFT /VFO BOARD - WHICH DISPLAY?


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.

Vince.

On 06/12/2017 09:29 PM, Joe wrote:
I have the? MCUFRIEND_kbv library loaded and it compiles with some ino
examples but only white screen.

Joe

On Mon, Jun 12, 2017 at 10:27 PM, Vince Vielhaber <vev@...
<mailto:vev@...>> wrote:

? ? Go to <> and do a search for
? ? MCUFRIEND_kbv.? That driver should work.

? ? Vince.



? ? On 06/12/2017 09:16 PM, Joe wrote:

? ? ? ? Jack,

? ? ? ? I have been experimenting while waiting for my remaining few
? ? ? ? parts to
? ? ? ? arrive.

? ? ? ? I purchase a 2.8 inch tft display ( it says
? ? ? ? <> on it)

? ? ? ? It has appears to have the correct pins / jacks etc.

? ? ? ? The problem is I thought I would try to find an example to test
? ? ? ? if the
? ? ? ? TFT works.

? ? ? ? Well, I tried several but only get a white screen.? I used a uno and
? ? ? ? attached the tft to - as pins match ...tried other sketches -
? ? ? ? still only
? ? ? ? a white screen
? ? ? ? I tried other arduino, atmega 2560 and adjusted the pins
? ? ? ? accordingly ,
? ? ? ? same results, they compile and upload but nothing but a white
? ? ? ? screen.

? ? ? ? 1. Do you have an exact source where you purchased your display?
? ? ? ? 2. Any guidance to further test my current display?
? ? ? ? 3. The photo below is my current display..


? ? ? ? Any help would be appreciated

? ? ? ? Joe
? ? ? ? VE1BWV



? ? --
? ? ? Michigan VHF Corp.? ?? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ?






--
? Michigan VHF Corp.? ?? ?
? ? ? ? ? ? ? ? ? ? ? ? ?







Virus-free.

Join [email protected] to automatically receive all group messages.