File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 2525
2626"""
2727
28- import displayio
28+ import epaperdisplay
29+
30+ try :
31+ import typing
32+
33+ import fourwire
34+ except ImportError :
35+ pass
2936
3037__version__ = "0.0.0+auto.0"
3138__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1608.git"
4552_STOP_SEQUENCE = b"\x10 \x01 \x01 " # Enter deep sleep
4653
4754
48- class SSD1608 (displayio .EPaperDisplay ):
55+ class SSD1608 (epaperdisplay .EPaperDisplay ):
4956 """SSD1608 driver"""
5057
51- def __init__ (self , bus : displayio .FourWire , ** kwargs ) -> None :
58+ def __init__ (self , bus : fourwire .FourWire , ** kwargs ) -> None :
5259 start_sequence = bytearray (_START_SEQUENCE )
5360 width = kwargs ["width" ]
5461 start_sequence [4 ] = (width - 1 ) & 0xFF
Original file line number Diff line number Diff line change 33# SPDX-License-Identifier: Unlicense
44
55Adafruit-Blinka
6+ Adafruit-Blinka-Displayio
You can’t perform that action at this time.
0 commit comments