update example script

This commit is contained in:
javl
2026-08-18 14:52:49 +02:00
parent a1dc4b0561
commit fe7017e14c
+3 -1
View File
@@ -936,7 +936,9 @@ Adafruit_SSD1306 display(OLED_RESET);
${arrayCode}
void setup() {
display.begin(SSD1306_SWITCHCAPVCC, 0x3D); // initialize with the I2C addr 0x3D (for the 128x64)
// initialize with the I2C addr 0x3D for the 128x64
// replace with 0x3C for the 128x32
display.begin(SSD1306_SWITCHCAPVCC, 0x3D);
display.clearDisplay(); // Make sure the display is cleared
// Draw the bitmap: