diff --git a/bin/main.js b/bin/main.js index 8c052a4..8534e24 100644 --- a/bin/main.js +++ b/bin/main.js @@ -16,3 +16,4 @@ var oled = new oled_i2c_bus_1["default"](i2cbus, opts); oled.clearDisplay(); oled.setCursor(1, 1); oled.writeString(oled_font_5x7_1["default"], 1, "This is a string I am writing to the screen", 1, true); +oled.turnOffDisplay(); diff --git a/src/main.ts b/src/main.ts index ddbf070..969dd57 100644 --- a/src/main.ts +++ b/src/main.ts @@ -14,3 +14,4 @@ const oled = new Oled(i2cbus, opts); oled.clearDisplay(); oled.setCursor(1, 1); oled.writeString(font, 1, "This is a string I am writing to the screen", 1, true); +oled.turnOffDisplay();