Digital input on OLED I2C

Scortexx:
I have added Adafruit_SSD1306.h and it works

If only the Adafruit_SSD1306.h library came with examples all ready for you to build from.

Oh, wait. They DO!