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
584 stars 180 forks source link

uc8151: correct DrawBitmap() also refactor SendCommand() and SendData() for clarity #678

Closed deadprogram closed 1 month ago

deadprogram commented 1 month ago

This PR improves the uc8151 implementation by both correcting an error in DrawBitmap() and also refactoring SendCommand() and SendData() for clarity.

deadprogram commented 1 month ago

Thanks for review @soypat now merging.