I bought this Touch Shield: 2.8inch Touch LCD Shield for Arduino (waveshare.com) and tried to run the examples from HX8347D_kbv.h lib, found on github. But it doesn't run on an arduino Mega. I don't hava a Uno.
After reading the Add touch functionality to Waveshare 2.8 tft touch shield for Mega (arduino.cc) and Help! Make 2.8 tft touch shield for uno working on MEGA Problem (arduino.cc) i didn't get it working.
My knowledge about MCUs is not the best but i worked with them for a few weeks and normaly got all problems solved with "google". Not in this case.
The libs from "wavesharewiki" work, so i think the touch shield is intact.
Is there any update in the Shield Pinout or stuff like that ?
Sorry, my english is not the best.
I can buy an other one, but in my mind i'm not happy with this kind of solving problems
i want to know WHY!
No, the Waveshare shield has a SPI TFT controller. MCUFRIEND_kbv is designed for Parallel controllers.
Install HX8347D_kbv.h from GitHub. (which is not supported by the Library Manager)
The shield should work on Uno, Mega2560, Leonardo, Nano-Every
Please let me know which example and what problem.
David.
Edit. Ah-ha. Waveshare has changed the controller chip from Himax HX8347-D to Sitronix ST7789.
The schematic has changed too. The HX8347 was write-only. The new ST7789 appears to be read-write.
When I bought my Waveshare HX8347 Shield the Waveshare code was "unconventional". Life is much easier with GFX style libraries:
Install Adafruit_ST7789 via the IDE Library Manager.
Thanks a lot for the new idea. i already installed your lib from github and did all the stuff in the posts i found.
With the Adafruit_ST7789 it worked :)!
From now I can go on :)!
Some colors are not correct, but i think fixing it will be not so difficult