¿ªÔÆÌåÓý

Re: W8TEE TFT/VFO DDS adapter


Vince Vielhaber
 

Your best bet will be the graphicstest example. It loads quick and will test all of the Adafruit's library functions. If you still can't get it to go, I still suggest asking on the MCUFriend_kbv thread on the arduino.cc forum. You can always get the latest version there and the author (David) is quick to respond and very helpful.

Vince.

On 06/18/2017 11:41 AM, Michael Hagen wrote:
Well your code uploads, so I got all the Libs. I could try loading
Adafruit again with what every is today's version?

The Rinky Dink Demo works, but when I try to download their manual, my
computer says there are errors and can't read their PDFs?

I can't blame the seller, their documentation pointed to Rinky Dink, and
I got 2 examples working.

I would like to find an example in MCUFriends that will work with MEGA.
I bought the Mega Compatible displays figuring they

would be the easiest to experiment with. I am not trying to build a
Raduino now, just want to try a TFT and see if I can understand its

library functions. This display uses the Right hand side double
connector. There is a picture of the pinouts I found.

DB0-DB15 and control pins.

Mike, WA6ISP


On 6/18/2017 7:25 AM, Jack Purdum via Groups.Io wrote:
If I plug a mcufriend display into a standard MEGA 2560 board and run
my software, you should see the screen fill with the startup display
for the BITX40 software. If you don't see that display, my best bet is
that you don't have the right drivers in place. A second possibility
is that you don't have the latest Adafruit_GFX library installed. (The
mcufriend library inherits from the Adafruit library.) Now, I have
seen some mcufriend displays that do use the "end pins" on a standard
Mega 2560 board (note the I/O pins on the left edge of the display).

SainSmart-3-2-034-TFT-LCD-Display-Touch-Panel-PCB-adapter-SD-Slot-4-Arduino-mega2560


My code is not set up to use those displays. If you have one of those
displays, you have to go through each I/O pin the display uses and
"pair it up" with the matching I/O pin I use in my code. Personally, I
think it's easier to buy a new display.

Jack, W8TEE


------------------------------------------------------------------------
*From:* Michael Hagen <motdog@...>
*To:* [email protected]
*Sent:* Sunday, June 18, 2017 9:57 AM
*Subject:* Re: [BITX20] W8TEE TFT/VFO DDS adapter

I am looking for a file in MCUfriend?
A header or C file?
Is there a #define somewhere to use Mega 2560 Pins.
Yes, I have it plugged directly to a Mega, so I would need that option?

I tried changing ID in Jacks new code. Still nothing. Default 0xD3D3.

Thanks, I don't know where to look?
Mike,WA6ISP

On 6/18/2017 4:34 AM, Laurent CHABERT wrote:



------------------------------------------------------------------------
*De :* [email protected] <mailto:[email protected]> <[email protected]>
<mailto:[email protected]> de la part de Vince Vielhaber
<vev@...> <mailto:vev@...>
*Envoy¨¦ :* dimanche 18 juin 2017 05:00
*? :* [email protected] <mailto:[email protected]>
*Objet :* Re: [BITX20] W8TEE TFT/VFO DDS adapter


Did you try changing that line of code in the MCUFriend driver that Jack
mentioned the other day? That one's using the mega pins as opposed to
the standard pins.

Vince.



On 06/17/2017 01:09 PM, Michael Hagen wrote:
Yes Rinky Dink works but I can't get any MCU Friend to work. I spent
most of the day playing with it.

My TFT is directly plugged into a Mega 2560. Its pinouts fit like a
shield over the top of the 2560.

Any hints to give me? I don't know why Rinky Dink works.

I have run the ID program in MCUFriend, no ID. I know that the package
says HX8357B for Driver?

Mike, WA6ISP


On 6/16/2017 4:58 PM, Vince Vielhaber wrote:
If the UTFT library works (the one from Rinky Dink) then the
MCUFriend_kbv library should once you find the right parameters. UTFT
is slow and a memory pig.

Vince.



On 06/16/2017 07:40 PM, Michael Hagen wrote:
Bought 2 of these displays. Less than $8. No Touch Screen. 36 Pins,
not 40.
Uses 9481 Controller, package says Driver: HX8357B?

Work fine but not so far with your recommended library (Friend?).
A library at Rinkey Dink Electronics works?

Parallel transfer, not serial.
I did not look at whether you used serial or parallel?

Mike, WA6ISP





--
Michigan VHF Corp.
<>

<>







<>
Virus-free. www.avast.com
<>

--
Michigan VHF Corp.

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