The default I2C address of the SSD1306 module is 0x3c (60). Some modules have a different address (0x3d), which can be changed by editing diagram.json and setting the
i2cAddress attribute to “0x3d”.Pin names
Ground connectionArduino Uno pin: GND
Supply voltageArduino Uno pin: 5V
I2C clock lineArduino Uno pin: A5
I2C data lineArduino Uno pin: A4
Attributes
I2C address of the display. Can be set to “0x3d” for modules with alternate addressing.
Using in Arduino
You can choose between several SSD1306 Arduino libraries:- Adafruit SSD1306
- ssd1306
- lcdgfx
- U8glib
- U8g2 (also U8x8)
- SSD1306Ascii
- Tiny4kOLED - for ATtiny85 users
All the above libraries are available on Wokwi.