Hi guys,
new here, signed up because I am dealing with an issue I simply cannot get solved by myself:
I am using the following 1.3 inch OLED I2C Display in my coffee machine connected to my Arduino Nano via I2C. Hooked the display up to an external 5V-power supply for not having to rely on the Nano's 5V output.
I have a 328 Nano that runs a PID code for keeping the exact brewing temperature. I am trying to get the display to work following this example.
The I2C-Scanner finds a device at 0x3C which I changed in the example. All that happens is that I get a few fuzzy blue lines at the bottom of the display (see attachments).
Also tried using the U8g2 Library like so:
#include <U8g2lib.h>
#include <Wire.h>
U8G2_SH1106_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0);
void setup(void) {
//u8g2.setI2CAddress(0x78);
u8g2.begin();
}
void loop(void) {
u8g2.firstPage();
do {
u8g2.setFont(u8g2_font_ncenB14_tr);
u8g2.drawStr(0,24,"Hello World!");
} while ( u8g2.nextPage() );
}
That only leads to a completely black screen. Tried the SSD1306 instead of the SH1106 constructor as well, did nothing either.
Might the display be simply broken?
Any help/tips are greatly appreciated!