Skip to main content
4 votes

AREF pin on Arduino Uno R3

On the ATmega328P (the microcontroller of the Arduino Uno), the AREF pin is initially floating. If you try to read its voltage, you can get basically anything. As soon as you select an analog ...
Edgar Bonet's user avatar
  • 43.3k
1 vote
Accepted

SSD1306 i2c OLED display - not able to show images properly

Change this line: Adafruit_SSD1306 display(OLED_RESET); to Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET); The problem is not that you were sold a 32 row display labeled as 64 row. You ...
timemage's user avatar
  • 5,324
1 vote

AREF pin on Arduino Uno R3

You are supposed to supply an aref voltage to the aref pin. You supply your 5v reference to the aref pin, so that the ADC compares its input against the aref voltage.
Hacky's user avatar
  • 154

Only top scored, non community-wiki answers of a minimum length are eligible