File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 27
27
_SSD1680_MASTER_ACTIVATE = const (0x20 )
28
28
_SSD1680_DEEP_SLEEP = const (0x10 )
29
29
30
+
30
31
class Adafruit_SSD1680 (Adafruit_EPD ):
31
32
"""Driver for SSD1680 ePaper display, default driver."""
32
33
@@ -46,9 +47,11 @@ def __init__(
46
47
self .busy_pin = busy_pin
47
48
48
49
self .initialize_buffers (width , height )
50
+
49
51
# pylint: enable=too-many-arguments, useless-parent-delegation
50
52
51
53
54
+
52
55
def initialize_buffers (self , width , height ):
53
56
"""Initialize width height stride buffers"""
54
57
stride = width
@@ -128,6 +131,7 @@ def power_down(self):
128
131
self .command (_SSD1680_DEEP_SLEEP , bytearray ([0x01 ]))
129
132
time .sleep (0.1 )
130
133
134
+
131
135
class Adafruit_SSD1680Z (Adafruit_SSD1680 ):
132
136
"""Driver for SSD1680Z ePaper display, overriding SSD1680 settings."""
133
137
@@ -146,7 +150,8 @@ def __init__(
146
150
rst_pin = rst_pin ,
147
151
busy_pin = busy_pin ,
148
152
)
149
- # pylint: enable=too-many-arguments, useless-parent-delegation
153
+
154
+ # pylint: enable=too-many-arguments, useless-parent-delegation
150
155
151
156
def power_up (self ):
152
157
"""Power up sequence specifically for SSD1680Z."""
You can’t perform that action at this time.
0 commit comments