From b87a9ae601237e4c4fc20f9430888f48b901e8f8 Mon Sep 17 00:00:00 2001 From: bton Date: Fri, 12 Apr 2024 21:34:37 +0200 Subject: [PATCH] test --- oled.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oled.py b/oled.py index 71531a5..557742a 100644 --- a/oled.py +++ b/oled.py @@ -16,9 +16,9 @@ i2c = busio.I2C(SCL, SDA) # Create the SSD1306 OLED class. # The first two parameters are the pixel width and pixel height. Change these # to the right size for your display! -#display = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c) +display = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c) # Alternatively you can change the I2C address of the device with an addr parameter: -display = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c, addr=0x31) +#display = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c, addr=0x31) # Clear the display. Always call show after changing pixels to make the display # update visible!