From 53af4335166a424b9e69d98ccebca3f71788fbdf Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Tue, 27 May 2025 21:47:03 +0200 Subject: [PATCH] add display initialization log to oled_display.py --- src/esp_sensors/oled_display.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/esp_sensors/oled_display.py b/src/esp_sensors/oled_display.py index 26b700c..1fe8c74 100644 --- a/src/esp_sensors/oled_display.py +++ b/src/esp_sensors/oled_display.py @@ -100,6 +100,7 @@ class OLEDDisplay(Sensor): # print('i2c scan:', i2c.scan()) print(f" I2C address: {self.address}") self._display = ssd1306.SSD1306_I2C(self.width, self.height, i2c, addr=self.address) + print(f" Display initialized: {self._display}") self._display.fill(0) # Clear the display self._display.text("Initialized", 0, 0, 1) self._display.show()