You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devices/waveshare2in13v2
Michael Hanselmann 2ee68f752c waveshare2in13v2: Implement support for rotating image
A new option named "Origin" controls which of the four corners of the
display should be used as the (0,0) position for the image. The
in-memory buffer is kept in logical orientation. The actual rotation
happens only when sending updates.

By aligning the buffer accordingly the code is already prepared for
a more efficient sending of image data for the "TopRight" and
"BottomLeft" origins. See the TODO comment on "drawSpec.BufferDstOffset"
for details.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
4 years ago
..
controller.go waveshare2in13v2: Enable hardware early 4 years ago
controller_test.go waveshare2in13v2: Enable hardware early 4 years ago
doc.go waveshare2in13v2: Clarify documentation on controller 4 years ago
drawing.go waveshare2in13v2: Implement support for rotating image 4 years ago
drawing_test.go waveshare2in13v2: Implement support for rotating image 4 years ago
errorhandler.go waveshare213v2: Make busy a PinIn, use WaitForEdge 4 years ago
example_test.go waveshare213v2: Allow changing update mode without re-initialization 4 years ago
waveshare213v2.go waveshare2in13v2: Implement support for rotating image 4 years ago
waveshare213v2_test.go waveshare2in13v2: Implement support for rotating image 4 years ago