We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1837b47 commit 8868384Copy full SHA for 8868384
adafruit_displayio_sh1107.py
@@ -68,7 +68,8 @@
68
69
# Sequence from sh1107 framebuf driver formatted for displayio init
70
# we fixed sh110x addressing in 7, so we have slightly different setups
71
-if sys.implementation.version[0] < 7:
+if sys.implementation.name == "circuitpython" and sys.implementation.version[0] < 7:
72
+ # if sys.implementation.version[0] < 7:
73
_INIT_SEQUENCE = (
74
b"\xae\x00" # display off, sleep mode
75
b"\xdc\x01\x00" # display start line = 0 (POR = 0)
0 commit comments