drivers/display/ssd1306: Implement SSD1306_I2C poweron method.
After a poweroff(), the poweron() method does a soft power-on and any previous state of the display persists.
This commit is contained in:
parent
ea6692a83e
commit
7df4083ac6
@ -124,7 +124,7 @@ class SSD1306_I2C(SSD1306):
|
||||
self.i2c.stop()
|
||||
|
||||
def poweron(self):
|
||||
pass
|
||||
self.write_cmd(SET_DISP | 0x01)
|
||||
|
||||
|
||||
class SSD1306_SPI(SSD1306):
|
||||
|
Loading…
Reference in New Issue
Block a user