diff options
author | Tiago Queiroz <contato@tiago.eti.br> | 2017-02-04 23:32:10 -0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-10-06 12:47:22 +1100 |
commit | 7df4083ac6344944e895b5911d59b64b68c8c134 (patch) | |
tree | f5156f9e4e9fd85386081f9baff8e14e6f83c558 | |
parent | ea6692a83e7132aa18a8032ae3c76fa91d9d50f2 (diff) |
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.
-rw-r--r-- | drivers/display/ssd1306.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/display/ssd1306.py b/drivers/display/ssd1306.py index d65f2d350..a05eda7df 100644 --- a/drivers/display/ssd1306.py +++ b/drivers/display/ssd1306.py @@ -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): |