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.
display: move devices.Display as display.Drawer This removes the last interface from devices, which was misplaced due to historical accident. The new package display will also be the location for an interface for text output only devices. Remove io.Writer from this interface. While it's a good performance optimization for some drivers, it shouldn't be required. Change Draw(): - Return an error, so that communication erorr can be surfaced correctly, instead of an adhoc driver specific Err() method. |
8 years ago | |
|---|---|---|
| .. | ||
| README.md | 9 years ago | |
| bunny.go | 9 years ago | |
| ssd1306smoketest.go | 8 years ago | |
README.md
'ssd1306' smoke test
Verifies that two SSD1306, one over I²C, one over SPI, can display the same output.
It can also be leveraged to record the I/O to write playback unit tests. It is a good example to reuse to write other device driver unit test.