I am trying to make 2.8" TFT touch screen work on Arduino Mega 2560, but get blank screen when I try the sample code. The code works with Uno, but not with Mega. Is there anything specific required with Mega.
you should change the 29 line #define SEEEDUINO to #define MEGA.
In our WIKI there is a tutorial teach you how to connect with the mega.
This type of response is almost worthless. - Include the URL when you reply like this.
I haven’t looked very hard, but if you are by chance referring to how to connect to the MEGA. I am still trying to figure it out.
I have been trying for three days now.
For mega/mega2560 , you should change the 33 line “#define SEEEDUINO” to “#define MEGA” in the TFT.h file
I change the TFT.h File.
I don’t know what I am doing wrong.
I ‘followed’ the tutorial found in the forum…
Thank you all for responding!
— I will try again.
We suggest you to re-download the update libraries for TFT shield and change the line again if you use MEGA board.
Got it to work.
- All the examples DON"T WORK.
- Circles, Shapes and Line Examples worked.
-Other than that.
Seems to work.