From Ebay but I don't have the exact article.
I have added Adafruit_SSD1306.h and it works but I cannot put anything in void loop that will work. If I put
if (digitalRead(pin2) == HIGH)
{
Display.setTextSize(2);
Display.setTextColor(WHITE, BLACK);
Display.setCursor(15, 10);
Display.println("Test");
Display.display();
}
it will just show "Test", it goes over digital read input. I have set that pin 2 is and input and initialized it as pin 2 but it won't work.