Commit 130c0b2
authored
Fixed command bytes (#23)
Changed first bytes for "PreChargePeriod" and "VcomhDeselect" to be what they should be in the datasheet (0xD9 and 0xDB, respectively).
This fix got the driver working properly for my hardware (raspberry pi zero w + WaveShare SH1106 HAT).
Before this fix, the display would behave differently in based on what seemed to be background cosmic radiation; sometimes it would work perfectly, sometimes it would go dark after a few seconds of displaying something.1 parent 294e8fa commit 130c0b2
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments