File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 2727_SSD1680_MASTER_ACTIVATE = const (0x20 )
2828_SSD1680_DEEP_SLEEP = const (0x10 )
2929
30+
3031class Adafruit_SSD1680 (Adafruit_EPD ):
3132 """Driver for SSD1680 ePaper display, default driver."""
3233
@@ -46,9 +47,11 @@ def __init__(
4647 self .busy_pin = busy_pin
4748
4849 self .initialize_buffers (width , height )
50+
4951 # pylint: enable=too-many-arguments, useless-parent-delegation
5052
5153
54+
5255 def initialize_buffers (self , width , height ):
5356 """Initialize width height stride buffers"""
5457 stride = width
@@ -128,6 +131,7 @@ def power_down(self):
128131 self .command (_SSD1680_DEEP_SLEEP , bytearray ([0x01 ]))
129132 time .sleep (0.1 )
130133
134+
131135class Adafruit_SSD1680Z (Adafruit_SSD1680 ):
132136 """Driver for SSD1680Z ePaper display, overriding SSD1680 settings."""
133137
@@ -146,7 +150,8 @@ def __init__(
146150 rst_pin = rst_pin ,
147151 busy_pin = busy_pin ,
148152 )
149- # pylint: enable=too-many-arguments, useless-parent-delegation
153+
154+ # pylint: enable=too-many-arguments, useless-parent-delegation
150155
151156 def power_up (self ):
152157 """Power up sequence specifically for SSD1680Z."""
You can’t perform that action at this time.
0 commit comments