I wanted to include a 0.69 inch OLED display into a project.
I ordered one of those modules that already have the resistors and capacitors included and tried it with my ATtiny814. It worked nicely.
Then I wanted to use the display directly without the module PCB. So I rebuilt the schematic of the Datasheet and ordered the project. Unfortunately, even though I used the same code as with the finished module, I get no output.
I then measured the voltage pins of the display with a voltmeter and got all the right voltages at the right place. Still, I do not get any output. I rechecked the schematics a couple of times and then ordered another display which I replaced the old with. Unfortunately, still no output. The same controller works with the finished module though.
I seem to have some mistake in my schematics. Does anyone here have some experience with such displays and could tell me what I did wrong?
Here is the code I am using:
#include <Tiny4kOLED.h>
// ============================================================================
void setup() {
// put your setup code here, to run once:
// This example is for a 128x64 screen
oled.begin(128, 64, sizeof(tiny4koled_init_128x64br), tiny4koled_init_128x64br);
oled.clear();
normalSize();
oled.on();
}
void loop() {
delay(10000);
}
void normalSize() {
//oled.setFont(FONT6X8P); // Kleine Schrift
oled.setFont(FONT8X16P); // Grosse Schrift
oled.setCursor(5, 2);
oled.print("Normal Size Text");
}