Datasheet

Step 2. Enable i2c
To enable i2c, you can follow our detailed guide on configuring the Pi with I2C support here. (https://adafru.it/dEO)
After you've enabled I2C you will need to shutdown with sudo shutdown -h now
Once the Pi has halted, plug in the PiOLED. Now you can power the Pi back up, and log back in. Run the following
command from a terminal prompt to scan/detect the I2C devices
sudo i2cdetect -y 1
You should see the following, indicating that address 0x3c (the OLED display) was found
Step 3. Verify I2C Device
While in the Adafruit_Python_SSD1306 folder, you can run our stats example, which will query the Pi for details on
CPU load, disk space, etc. and print it on the OLED.
Run sudo python examples/stats.py to run the demo, you should see something like the below:
© Adafruit Industries https://learn.adafruit.com/adafruit-pioled-128x32-mini-oled-for-raspberry-pi Page 7 of 15