U8g2 monochrome graphics library for Arduino with support for Grove OLEDs

Hi All

I am happy to write my first topicin the Seeedstudio Forum.

Today I finished U8g2 support for the 128x128 Grove OLED: <LINK_TEXT text=“https://github.com/olikraus/u8g2/wiki/g … tudio-oled”>https://github.com/olikraus/u8g2/wiki/gallery#22-apr-2019--sh1107-128x128-seeed-studio-oled</LINK_TEXT>.

U8g2 is a monochrome graphics library for the Arduino IDE. Groove OLEDs are mostly supported by U8g2. Support for the 128x128 Grove OLED will be there with the next official release.

Let me know if there are any questions or problems related to U8g2 and Grove OLEDs.


Hi Olikraus,

It’s great to see u8g2 libraries coming in for Arduino IDE. I am also happy to see support for Grove OLEDs since I have been using them for my projects for some time.

However, I tried your new u8g2 library with the 128x128 Grove OLED connected to a Seeeduino, but unfortunately, it didn’t work. Nothing shows up on the OLED.

I used this library:- https://github.com/olikraus/U8g2_Arduino, along with the Grove - OLED Display 1.12’’ V2. Also added :-U8G2_SH1107_SEEED_128X128_1_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE); in the code, but no luck.

Used with an Arduino UNO as well. Didn’t work.

Help would be appreciated!!!


Hmm, It works nicely for me:

<LINK_TEXT text=“https://github.com/olikraus/u8g2/wiki/g … tudio-oled”>https://github.com/olikraus/u8g2/wiki/gallery#22-apr-2019--sh1107-128x128-seeed-studio-oled</LINK_TEXT>

What board did you use? Does your OLED look the same as on my picture?