Skip to content

0.2.0

Latest
Compare
Choose a tag to compare
@eyelight eyelight released this 21 Jun 17:28
d642892

Reduce heap allocation in interrupt handler in order to work with tinygo @ >0.28.0
API changes:

  • Removed the Bounce struct
  • Added State() method to get the state of the pin on-demand. Could be useful for checking a button state as some kind of modifier key
  • Removed the error return value from Duration()
  • Renamed Relay() to Debounce()