tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
587 stars 180 forks source link

Ssd1306 error handling improvements #590

Closed kenbell closed 11 months ago

kenbell commented 11 months ago

Merge #589 first

The driver was silently swallowing bus errors... which can make debugging hard.

This adds error results to a bunch of stuff to pass through bus errors.

deadprogram commented 11 months ago

@kenbell please rebase this PR now against dev. Thanks!

deadprogram commented 11 months ago

Thanks for the improvements @kenbell now merging.