www.mcufriend.com working in arduino uno and arduino mega

Hi David,

I too just wasted about an hour going through the init code. It turns out I have been sent an engineering sample, and yes those lines are dead... Otherwise the display is fine.

Thanks,

Graham

That sounds a little odd. The HX8352-A has been about for ages. My data sheet is "Version 05 December, 2008"

The 8347 is model -I now.

I have added "support". (by copying the UTFT init sequence)

David.

ok great, on your normal mcufriend thread?

Thanks,

Graham

I will send you a link in a PM

OK, thanks.

Graham

Thanks to buhosoft for the code. Much appreciated.
Like many others I had problems with the cheap Chinese TFT that I purchased.
His code set me in the right direction.
With it I managed to get something on screen. A few bugs to fix but they are already mentioned here.
The TFT paint program however didnt function and required a little modification.
At last it drew lines but they were back the front - drawing horizontal drew vertical lines and visa versa.

I made a small change which worked for me and may be useful to others.
Set an int to temp in the definition setup;
Then when the p.x and p.y point is being drawn reverse the two points.
Example I set p.x to temp - p.x to p.y and p.y to back to temp. The screen now draws correctly.
Thanks to all the people who commented here.
My board is from
http://www.ebay.com.au/itm/271934909081?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

It shows as a 7781 but isnt.
The code from buhosoft will make it work. Thanks.

This thread has gotten pretty long but I believe someone was asking for Leonardo support with the MCUfriend library.

Check out this library:

http://neathobbies.com/blogs/projects/mcufriend-tft-library-leonardo-support

I would guess that most libraries would support the Uno, Mega, Due. They probably support the Leonardo and Zero too.

The MCUFRIEND_kbv library supports all of these targets and a wide range of different TFT controller chips.

No one has ever asked for Teensy, Galileo or Edison.

David.

Hello, is there a plan to support Edison or Intel Arduino 101? Thanks in advance.

Hello David, can you send me the link to the HX8352-A mcufriend library support?

I also have this LCD and it does not work with latest mcufriend library.

Thanks in advance.

ebpalomino:
Hello, is there a plan to support Edison or Intel Arduino 101? Thanks in advance.

No, I have no plans to support either Edison or 101.
It looks as if there are headers for a Uno-style shield. I cannot find the pin-usage. The Mcufriend shields need to use almost all of the header pins.

I do not own an Edison or 101. If many people owned them, I would buy one. I would need a real board for testing.

David.

ebpalomino:
Hello David, can you send me the link to the HX8352-A mcufriend library support?

I also have this LCD and it does not work with latest mcufriend library.

Thanks in advance.

Please post a link to the actual HX8352-A shield that you own.
I will send you instructions.

David.

Has anyone worked with the touchscreen portion of this display? I got Buhosoft's graphics display code running but without the touchscreen functionality, this is just another output device

Uno shields have a simple resistive panel and you use Touchscreen.h or TouchR libraries.
Mega shields tend to have a XPT2046 controller chip accessed with SPI. ( or bit-banged with UTouch)

Life is so much simpler if you post a link to your actual display.

David.

I am really glad to have found this forum. Thank you Buhosoft. I have been trying to get the display, I got from Amazon working for about 3 days, and now it is working thanks to the files you shared.

I have Kuman K60 2.8" LCD shield for UNO R3, from Amazon. The updated files from buhosoft did not seem to work for me. In case anyone else has that problem I have attached the original buhosoft libraries that are working for me. The shield line in Adafruit_TFTLCD.h is commented out, because it was the only way it would work for me. I copied the unzipped folder into Documents/Adruino/Libraries/.

buhosoft.zip (157 KB)

It doesn't work on Arduino Mega.

Hi,
I have a problem with the display mcufriend. Half of the screen does not work. What do you think about?

damadge.jpg

Which library?
Which controller?

From your photo, it looks as if the Panel is broken.

David.

I applied, after a long search TFTLCD. The controller 4532, i got the mcufriend.com, but I had to redo, because I do not work.