turning off display
This commit is contained in:
parent
6b5f3b0d2a
commit
ad7c97d1fd
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Reference in New Issue