I purchased a 5" TFT LCD Arduino Shield kit with an Arduino Mega controller. I tried running the example program given in the data sheet link: https://newhavendisplay.com/content/specs/NHD-5.0-800480FT-CTXL-CTP.pdf https://github.com/NewhavenDisplay/EVE2-TFT-Modules but only two of them worked the sketch and the gradient. Whenever I load the keyboard and graph to the board it just flashes a blinding white screen constantly. Also I'm trying to program a screen on my own and was given a manual to program it using the gameduino library file:///Downloads/NHD-Gameduino2-AppNotes.pdf. But when I follow the example all it does is flash once and then goes back to being a blank screen. I will put my code below. Can you tell me what I did wrong or how I can fix this issue.
GD.begin(0, 10, 5);
GD.cmd_text(GD.w / 2, GD.h / 2, 31, OPT_CENTER, "Hello world");
Please sign in to leave a comment.