Skip to content

Commit 6c6ce2e

Browse files
committed
lint
1 parent e98d07f commit 6c6ce2e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

adafruit_displayio_sh1107.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
2727
"""
2828

29+
import sys
2930
import displayio
3031
from micropython import const
31-
import sys
3232

3333
__version__ = "0.0.0-auto.0"
3434
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SH1107.git"
@@ -97,17 +97,18 @@
9797
b"\xc0\x00" # common output scan direction = 15 (0 to n-1 (POR=0))
9898
b"\xa8\x01\x3f" # multiplex ratio = 128 (POR)
9999
b"\xd3\x01\x60" # set display offset mode = 0x60
100-
#b"\xd5\x01\x51" # divide ratio/oscillator: divide by 2, fOsc (POR)
100+
# b"\xd5\x01\x51" # divide ratio/oscillator: divide by 2, fOsc (POR)
101101
b"\xd9\x01\x22" # pre-charge/dis-charge period mode: 2 DCLKs/2 DCLKs (POR)
102102
b"\xdb\x01\x35" # VCOM deselect level = 0.770 (POR)
103-
#b"\xb0\x00" # set page address = 0 (POR)
103+
# b"\xb0\x00" # set page address = 0 (POR)
104104
b"\xa4\x00" # entire display off, retain RAM, normal status (POR)
105105
b"\xa6\x00" # normal (not reversed) display
106106
b"\xaf\x00" # DISPLAY_ON
107107
)
108108
_PIXELS_IN_ROW = False
109109
_ROTATION_OFFSET = 90
110110

111+
111112
class SH1107(displayio.Display):
112113
"""
113114
SSD1107 driver for use with DisplayIO

0 commit comments

Comments
 (0)