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 e759762a8c waveshare213v2: Use color for clearing
This is an API-breaking change, albeit a simple one: Previously the
Dev.Clear function received a byte named "color". It was sent directly
to the display, thus acting more like a pattern to fill the display
with. In practice only 0 and 255 are likely to be used.

With this change the function is changed to receive a value of type
color.Color which is then converted to image1bit.Bit before filling the
display. The latter is also given a unittest.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
4 years ago
..
doc.go waveshare2in13v2: Amend documentation with note on GDEH0213B73 4 years ago
drawing.go waveshare213v2: Use color for clearing 4 years ago
drawing_test.go waveshare213v2: Use color for clearing 4 years ago
errorhandler.go waveshare213v2: Move code waiting for idle state to error handler 4 years ago
example_test.go Remove dependencies on fogleman/gg and golang/freetype (#28) 5 years ago
waveshare213v2.go waveshare213v2: Use color for clearing 4 years ago