Keyboard Shortcuts
Likes
Search
Re: W8TEE TFT /VFO BOARD - WHICH DISPLAY?
¿ªÔÆÌåÓýJack, Never mind.? I added case 0x9486: and now it looks good. Mike K5ESS ? From: [email protected] [mailto:[email protected]] On Behalf Of K5ESS
Sent: Friday, July 14, 2017 10:00 PM To: [email protected] Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? ? Jack, My display looks like the bottom picture below but my display is the Mcufriend 3.5¡° TFT LCD for arduino uno.? It identifies as g-ID = 9486.? However looking at the code around line 1335 there is no case for ID 0x9486.? Can you tell me what parameters go with this case? Thanks, Mike K5ESS ? From: [email protected] [mailto:[email protected]] On Behalf Of Jack Purdum via Groups.Io ? Joe: ? What happens if you put this code in my program: ? ? g_identifier = tft.readID(); // ? Serial.print("ID = 0x"); ? Serial.println(g_identifier, HEX); ? if (g_identifier == 0x00D3 || g_identifier == 0xD3D3) g_identifier = 0x9481; // write-only shield ? if (g_identifier == 0xFFFF) g_identifier = 0x9341; // serial ? // ? ?g_identifier = 0x9329; ? ? ? ? ? ? ? ? ? ? ? ? ? ? // force ID ? tft.begin(g_identifier); ? starting around line 1335? The key is setting the identifier. ? Jack, W8TEE From: Joe <joeman2116@...> ? As a further test I ?tried some other code from "PD8W ? ?" see below Display working with various codes but it seems to fit on this one (PD8W'S CODE) ? ? ? Joe VE1BWV ? On Tue, Jun 13, 2017 at 2:57 PM, Joe <joeman2116@...> wrote: Jack, John, Vince......THANKS!!!!! ? ? ?It works! ? ? 1. ?modify mcufriend kbv.cpp? In the mcufriend_kbv library, see the file MCUFRIEND_kbv.cpp. ? ? 2. and? ? line 1332 0n my code ?I added ? ? ?g_identifier = 0x1289; ? just before this code. ?switch (g_identifier) { ? Recompile and now can see display - freq, s meter, etc. ? As a further test ? I un commented and commented each line below to see if the display would change? ? Display appeared but not correct ?placement? ? ? line 1344 ? ?g_identifier = tft.readID(); ? ?// Get TFT ID ?3.95" = 0x9486, 3.6" = 0x9488 ?2.8 = 0x1289 ? ? - when using this the pictures is as appears below ? ? line1346 ? ? // g_identifier = 0x1289; ? ? ? I also tried this - same results as picture below ? ? ? It looks like text size on some lines are ?to large or incorrect display line? ? ?see photo ? running on an regular atmega 2560 for testing ? ? ? On Mon, Jun 12, 2017 at 10:56 PM, Vince Vielhaber <vev@...> wrote:
I ran it? before. ? ? ? ? <mailto:vev@... <mailto:vev@...>>> wrote:
? ? ? ? |