My latest project includes an OLED display with 128×64 resolution and 1.3inch size. In search for a library, I found Adafruit oled libray problem. The display does not seem to work with this library. Upon doing some research, I gave up and do this work around instead.
![](https://i0.wp.com/tataylino.com/wp-content/uploads/2020/08/889939C0-1C0E-4420-98F4-77D59C3B7971.jpeg?w=840&ssl=1)
Diagram
![](https://i0.wp.com/tataylino.com/wp-content/uploads/2020/08/oled-arduino.png?w=840&ssl=1)
Just in case you also encountered this problem on Adafruits OLED library for arduino.
Here is a simple work around:
I have no time debugging this library so I searched for other library that is working.
to get the library
goto tools -> library manager
and search for U8GLib
![](https://i0.wp.com/tataylino.com/wp-content/uploads/2020/08/E41BEB58-2B87-4857-AE74-F3BE4B45DF3B.jpeg?w=840&ssl=1)
install this library.
and now goto examples -> U8Glib and select a project
for this example we will use Graphics Test
You need to comment out the display module first to make it working
On my case it is SSD1036_128x64 I2C model
Make sure also that you are using the correct I2C address
You can now program your device.
![](https://i0.wp.com/tataylino.com/wp-content/uploads/2020/08/7822DB6C-8252-4BD6-959C-16C5E7A9B929.jpeg?w=840&ssl=1)
![](https://i0.wp.com/tataylino.com/wp-content/uploads/2020/08/CCA791C7-DBFF-418D-8117-0E2B4768D0A9.jpeg?w=840&ssl=1)
![](https://i0.wp.com/tataylino.com/wp-content/uploads/2020/08/889939C0-1C0E-4420-98F4-77D59C3B7971.jpeg?w=840&ssl=1)
This library is perfectly working and it has some examples to play with. Have fun!
Reference:
create.arduino.cc/projecthub/tarantula3/i2c-oled-display-using-arduino-nodemcu-7682e8