Adafruit OLED 128x64 buttons not working with Adafruit ESP32-S3 feather

Hi,

I am using an Adafruit OLED 128x64 featherwing display using the SH11107 IC with an Adafruit ESP32-S3 feather and I am running into an issue with the buttons on the side of the wing labeled A, B and C. I want to use those buttons to trigger events on the ESP32-S3 and they are not working, but the RESET button is.

I have tried running the example included in the SH1107 library and it is not working either. I am thinking that it might be a PIN definition issue. Right now, button A is mapped to GPIO 9, button B to GPIO 6 and button C to GPIO 5. I have tried the same code, adapted to the SSD1306 IC, with an Adafruit OLED 128x32 display and the buttons do work, so I am not sure.

Any thoughts on why these are not working?

Thanks a lot in advance,
Bertrand.

Welcome to the forum

Please post your sketch, using code tags when you do

Posting your code using code tags prevents parts of it being interpreted as HTML coding and makes it easier to copy for examination

In my experience the easiest way to tidy up the code and add the code tags is as follows

Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.