How to program atmega2560 r3 with 3,5"tft for multiple pictures

It is always wise to use ctrl-T in the Arduino IDE.

The code gets formatted nicely.
You see any indentation problems.
You see any unmatched braces.

David.