Wire it to Arduino Uno like this:
Vcc - 3v
Gnd - Gnd
SCL - A5
SDA - A4
U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_NONE); // I2C / TWI
From the "graphics test" example file here
[ Ссылка ]
Ещё видео!
Wire it to Arduino Uno like this:
Vcc - 3v
Gnd - Gnd
SCL - A5
SDA - A4
U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_NONE); // I2C / TWI
From the "graphics test" example file here
[ Ссылка ]