File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 26
26
27
27
"""
28
28
29
+ import sys
29
30
import displayio
30
31
from micropython import const
31
- import sys
32
32
33
33
__version__ = "0.0.0-auto.0"
34
34
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SH1107.git"
97
97
b"\xc0 \x00 " # common output scan direction = 15 (0 to n-1 (POR=0))
98
98
b"\xa8 \x01 \x3f " # multiplex ratio = 128 (POR)
99
99
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)
101
101
b"\xd9 \x01 \x22 " # pre-charge/dis-charge period mode: 2 DCLKs/2 DCLKs (POR)
102
102
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)
104
104
b"\xa4 \x00 " # entire display off, retain RAM, normal status (POR)
105
105
b"\xa6 \x00 " # normal (not reversed) display
106
106
b"\xaf \x00 " # DISPLAY_ON
107
107
)
108
108
_PIXELS_IN_ROW = False
109
109
_ROTATION_OFFSET = 90
110
110
111
+
111
112
class SH1107 (displayio .Display ):
112
113
"""
113
114
SSD1107 driver for use with DisplayIO
You can’t perform that action at this time.
0 commit comments