@@ -81,8 +81,15 @@ class Adafruit_SSD1680(Adafruit_EPD):
81
81
82
82
# pylint: disable=too-many-arguments
83
83
def __init__ (
84
- self , width : int , height : int , spi : SPI , * , cs_pin : DigitalInOut ,
85
- dc_pin : DigitalInOut , sramcs_pin : DigitalInOut , rst_pin : DigitalInOut ,
84
+ self ,
85
+ width : int ,
86
+ height : int ,
87
+ spi : SPI ,
88
+ * ,
89
+ cs_pin : DigitalInOut ,
90
+ dc_pin : DigitalInOut ,
91
+ sramcs_pin : DigitalInOut ,
92
+ rst_pin : DigitalInOut ,
86
93
busy_pin : DigitalInOut
87
94
) -> None :
88
95
super ().__init__ (
@@ -121,7 +128,7 @@ def __init__(
121
128
self .set_color_buffer (1 , False )
122
129
# pylint: enable=too-many-arguments
123
130
124
- def begin (self , reset : bool = True ) -> None :
131
+ def begin (self , reset : bool = True ) -> None :
125
132
"""Begin communication with the display and set basic settings"""
126
133
if reset :
127
134
self .hardware_reset ()
@@ -194,7 +201,9 @@ def write_ram(self, index: Union[0, 1]) -> Any:
194
201
return self .command (_SSD1680_WRITE_REDRAM , end = False )
195
202
raise RuntimeError ("RAM index must be 0 or 1" )
196
203
197
- def set_ram_address (self , x : int , y : int ) -> None : # pylint: disable=unused-argument, no-self-use
204
+ def set_ram_address (
205
+ self , x : int , y : int
206
+ ) -> None : # pylint: disable=unused-argument, no-self-use
198
207
"""Set the RAM address location, not used on this chipset but required by
199
208
the superclass"""
200
209
# Set RAM X address counter
0 commit comments