From fe7017e14c421191d81e9940dcc4bdba16052a56 Mon Sep 17 00:00:00 2001 From: javl Date: Tue, 18 Aug 2026 14:52:49 +0200 Subject: [PATCH] update example script --- js/script.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index 90190e4..9c6ae08 100644 --- a/js/script.js +++ b/js/script.js @@ -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: