Skip to content

Commit 6f42d81

Browse files
committed
blickblack
1 parent c6a5ed2 commit 6f42d81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

adafruit_displayio_sh1107.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,17 @@
9696
b"\xc0\x00" # common output scan direction = 15 (0 to n-1 (POR=0))
9797
b"\xa8\x01\x3f" # multiplex ratio = 128 (POR)
9898
b"\xd3\x01\x60" # set display offset mode = 0x60
99-
#b"\xd5\x01\x51" # divide ratio/oscillator: divide by 2, fOsc (POR)
99+
# b"\xd5\x01\x51" # divide ratio/oscillator: divide by 2, fOsc (POR)
100100
b"\xd9\x01\x22" # pre-charge/dis-charge period mode: 2 DCLKs/2 DCLKs (POR)
101101
b"\xdb\x01\x35" # VCOM deselect level = 0.770 (POR)
102-
#b"\xb0\x00" # set page address = 0 (POR)
102+
# b"\xb0\x00" # set page address = 0 (POR)
103103
b"\xa4\x00" # entire display off, retain RAM, normal status (POR)
104104
b"\xa6\x00" # normal (not reversed) display
105105
b"\xaf\x00" # DISPLAY_ON
106106
)
107107
_PIXELS_IN_ROW = False
108108

109+
109110
class SH1107(displayio.Display):
110111
"""
111112
SSD1107 driver for use with DisplayIO

0 commit comments

Comments
 (0)