You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add address_little_endian for epaper displays with little endian
(low byte first) addresses.
Also clears allocated display and display bus memory so it has a
known state. The acep member wasn't always set so it varied
accidentally.
Fixes#7560. May fix#7778. Fixes#5119.
Copy file name to clipboardExpand all lines: shared-bindings/displayio/EPaperDisplay.c
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,8 @@
80
80
//| grayscale: bool = False,
81
81
//| advanced_color_epaper: bool = False,
82
82
//| two_byte_sequence_length: bool = False,
83
-
//| start_up_time: float = 0
83
+
//| start_up_time: float = 0,
84
+
//| address_little_endian: bool = False
84
85
//| ) -> None:
85
86
//| """Create a EPaperDisplay object on the given display bus (`displayio.FourWire` or `paralleldisplay.ParallelBus`).
86
87
//|
@@ -122,6 +123,7 @@
122
123
//| :param bool advanced_color_epaper: When true, the display is a 7-color advanced color epaper (ACeP)
123
124
//| :param bool two_byte_sequence_length: When true, use two bytes to define sequence length
124
125
//| :param float start_up_time: Time to wait after reset before sending commands
126
+
//| :param bool address_little_endian: Send the least significant byte (not bit) of multi-byte addresses first. Ignored when ram is addressed with one byte
0 commit comments