Setting wifi password via buttons

For your particular model of oled display? Probably not. But there will probably be similar code but perhaps for other displays which could be adapted.

But entering passwords with a couple of buttons like that is a PITA. Have you had a look at the WiFi Manager library? This allows you to connect to the Arduino with a smartphone, tablet or laptop, select an SSID for the Arduino to connect to and enter the password using the smartphone/laptop screen.

1 Like