Skip to content

Commit 24a7c80

Browse files
committed
fix display
1 parent 3090292 commit 24a7c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_epd/ssd1681.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def power_up(self):
134134
self.command(_SSD1681_DRIVER_CONTROL,
135135
bytearray([self._width-1, (self._width-1) >> 8, 0x00]))
136136
# data entry mode
137-
self.command(_SSD1681_DATA_MODE, bytearray([0x01]))
137+
self.command(_SSD1681_DATA_MODE, bytearray([0x03]))
138138
# Set ram X start/end postion
139139
self.command(_SSD1681_SET_RAMXPOS, bytearray([0x00, self._height//8 - 1]))
140140
# Set ram Y start/end postion

0 commit comments

Comments
 (0)