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
604 stars 188 forks source link

makeybutton: some fixes and refactoring #443

Closed deadprogram closed 2 years ago

deadprogram commented 2 years ago

This PR fixes the makeybutton by reducing the size of the buffer for better responsiveness. It also add a Configure() method to bring it in line with the typical device patterns.

conejoninja commented 2 years ago

It looks good to me with the fixes proposed, is there any more work to be done or it could be merged?

deadprogram commented 2 years ago

I say merge! :)

conejoninja commented 2 years ago

thanks! merging