0.49 inch display ... online

A project log for Safety Glasses With B.T. Display for Multimeter

A safety glasses with a bluetooth enabled head mounted oled Display, to diplay data from your measuring device right into your view field.

Alain MauerAlain Mauer 04/19/2017 at 18:101 Comment

Today I found the time to connect the 0.49 inch, I2c display to the Arduino. I used the u8glib. The display is not in the list but this one works fine:

U8GLIB_SSD1306_64X48 u8g(U8G_I2C_OPT_NONE)

Now that the display is connected, I will play around with the U8Glib. The first Bitmap works:)


mdmiko wrote 04/23/2017 at 20:48 point

This oled could be 64x32, to make it work you can:
copy u8g_dev_ssd1306_64x48.c file and rename to u8g_dev_ssd1306_64x32.c

replace all 64x48 to 64x32, then search "static const uint8_t u8g_dev_ssd1306_64x32_init_seq[] PROGMEM = {", multiplex need to be changed from 0x0a8, 0x02f in 0x0a8, 0x01f

edit u8glib.h and u8g.h to add respective classes

  Are you sure? yes | no