Skip to content

Commit fc54ace

Browse files
committed
HM01B0 PIO driver: shift data 24 bits in sm.put()
Fixes #20
1 parent 3b782a1 commit fc54ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cv2_drivers/displays/st7789_pio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def _pio_write(self, data):
9999
self.sm.active(1)
100100

101101
# Write data to the state machine
102-
self.sm.put(data)
102+
self.sm.put(data, 24)
103103

104104
# Stop the state machine
105105
self.sm.active(0)

0 commit comments

Comments
 (0)