I am having a couple of issues with a project I am trying to follow from github.https://github.com/CountDeMonet/Arduino_PKE_MeterI am using as the OP suggests, and Arduino Nano, but I can only load it by using the old bootloader in the software, so I am not sure if that might be causing any issue. Just an FYI.
First, I cant seem to get any sound from the buzzer. The OP doesn't specify any specific buzzer but in his breadboard image he does show a 2 pin, I don't have a 2 pin but I have used a 3 pin module KY-006.
Second, The Image and animation is distorted on the OLED. The OP says Adafruit_SSD1306 display in the code, but in his readme file he mentions Diymall 0.96". I have a Kuman KY34 0.96" 128x64.
I am also having an input issue with button 1. It doesnt seem to be communicating as its input is not recognized.
#define SCREEN_WIDTH 128 // OLED display width, in pixels#define SCREEN_HEIGHT 64 // OLED display height, in pixels// Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)#define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin)Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);