mirror of https://github.com/periph/devices
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.
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 | 4 years ago | |
| drawing.go | 4 years ago | |
| drawing_test.go | 4 years ago | |
| errorhandler.go | 4 years ago | |
| example_test.go | 5 years ago | |
| waveshare213v2.go | 4 years ago | |