// #include <avr/pgmspace.h> // memory
#include <TinyDebug.h> // Serial Monitor https://github.com/wokwi/TinyDebug
#include "SSD1306_minimal.h" // https://github.com/kirknorthrop/SSD1306_minimal/tree/master
SSD1306_Mini oled; // Declare the OLED object
void setup() {
oled.init(0x3C); // Initialize display with address
oled.clear(); // Clears the display
helloOled();
tdPrintln("Hello, World!"); // Serial monitor
}
void loop() {
}
void helloOled() {
oled.startScreen();
oled.clear();
oled.cursorTo(0, 0); // (0 - 7 rows)
oled.printString("Hello, World!");
for (int i = 1; i < 6; i++) {
oled.cursorTo(0, i);
oled.printString(".");
}
oled.cursorTo(0, 6);
oled.printString(" 1111111");
oled.cursorTo(0, 7);
oled.printString("01234567890123456");
}