File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2626
2727"""
2828
29+ import sys
2930import displayio
3031from 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"
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+
111112class SH1107 (displayio .Display ):
112113 """
113114 SSD1107 driver for use with DisplayIO
You can’t perform that action at this time.
0 commit comments