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
622 stars 196 forks source link

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

Closed deadprogram closed 6 months ago

deadprogram commented 6 months ago

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

deadprogram commented 6 months ago

Thanks for review @soypat now merging.