Arduino mega 2560 not working with adafruit tft 1.8inch screen

So i am programming the arduino braccio robot and want it so carry out a sequence when a button is pressed on the tft display. I had it working fine. I then had to disconnect all of the wires so that I could mount the screen but when i connected everything back up again the screen started displaying a white screen and i cannot change it to anything else.

I have double checked all of y wiring and even went over some soldering just to make sure. I also did a continuity to make sure i had no brides or loose connections

I honestly have no idea what the problem could be and am starting to think that i am defining the wrong values in mu code but I am not sure how to check what are the right ones

Any help would be much appreciated

help us to help you. You have t provide much more detail information about your hardware and your code.

Post the datasheet and usermanual of your display
post your complete sketch as a code-section
did you try to run a testcode for the display?
A testcode that is well known to run properly?
Does your code contain serial output that reports communication with display works / works not?

best regards Stefan

Thanks Stephan. I have tried to run the testcode for the display but that will also not work. As I mentioned previously, the testcode worked earlier on for me until i took out all the wires and put them back in again. I made sure to take photos of the board before I took any wires out so that i could put them back in the way they came out.



the rest of the code that is in is just coordinates for the arduino robot to run.
I am not sure what output sends data to the tft screen and am not sure how to check

I have attached a picture of the front of the board and of my wiring.



don't post pictures of code.
Post the complete sketch as a code-section.
like shown in this tutorial

https://forum.arduino.cc/t/make-experienced-users-help-two-ways-to-
quickly-post-code-as-a-code-section/937298

If the testcode has no serial output add it.
Then run this code that prints to the serial monitor
and post this serial output as a code-section

best regards Stefan

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.