I am trying to code an OLED which consists of 2 buttons interfaced. The working is as follows:
With the first button press it should switch on the OLED, show the opening screen.
Then by pressing the 2nd button each time it should keep on changing its screen accordingly.
I have got to make it work for the first button. But the real problem is I am not sure how to make other screens switch with a single button is pressed each time.