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

I can't see where the setup function ends