What I'm trying to do is add a button to my attiny85 so that when the button is pressed it will cycle through each image on the ssd1306 and then the animations separately. (one click = next image)
I know I need to define the pins used as the button but when it comes to pointing a button being pressed to cycle an image, I'm a little confused as to how to connect that and assemble to display codes at the bottom in a way that I can simply call a loop of ufo or eye without needing to retype that code. (i've edited images out to cut down on size)
ideally it'd be great to have one button press that will run them all as a sequence like a demo mode.
If anyone can point to some resources or provide some insight that would be great.
example-reduced.ino (9.03 KB)