datacute / Tiny4kOLED

Library for an ATTiny85 to use an SSD1306 powered, double buffered, 128x32 pixel OLED, over I2C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-Not issue- is possible with this library power off the screen?

patomoi opened this issue · comments

hi i am in a fork of a proyect and i was thinking of add power saving feature.

i have see this code in the internet.

display.ssd1306_command(SSD1306_DISPLAYOFF); // To switch display off

display.ssd1306_command(SSD1306_DISPLAYON); // To switch display back on

my question : is possible to use this code in this library, if not there are any code like this?

In this library, those commands are sent by the methods oled.off(); and oled.on();