Skip to content

Commit 6c2f84d

Browse files
authored
Merge pull request #28 from RetiredWizard/main
add 100ms delay to end of init sequence
2 parents 87edf0a + 4d64b98 commit 6c2f84d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_displayio_sh1107.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
b"\xb0\x00" # set page address = 0 (POR)
109109
b"\xa4\x00" # entire display off, retain RAM, normal status (POR)
110110
b"\xa6\x00" # normal (not reversed) display
111-
b"\xaf\x00" # DISPLAY_ON
111+
b"\xaf\x80\x64" # DISPLAY_ON + 100ms delay
112112
)
113113
_PIXELS_IN_ROW = True
114114
else:
@@ -127,7 +127,7 @@
127127
# b"\xb0\x00" # set page address = 0 (POR)
128128
b"\xa4\x00" # entire display off, retain RAM, normal status (POR)
129129
b"\xa6\x00" # normal (not reversed) display
130-
b"\xaf\x00" # DISPLAY_ON
130+
b"\xaf\x80\x64" # DISPLAY_ON + 100ms delay
131131
)
132132
_PIXELS_IN_ROW = False
133133

0 commit comments

Comments
 (0)