arduino/libraries/ezButton
2022-11-27 16:14:05 +01:00
..
examples Added some more projects and libraries. 2022-11-27 16:14:05 +01:00
src Added some more projects and libraries. 2022-11-27 16:14:05 +01:00
keywords.txt Added some more projects and libraries. 2022-11-27 16:14:05 +01:00
library.properties Added some more projects and libraries. 2022-11-27 16:14:05 +01:00
README.md Added some more projects and libraries. 2022-11-27 16:14:05 +01:00

ezButton Library for Arduino

This library is designed to make it easy to use push button, momentary switches, toggle switch, magnetic contact switch (door sensor)..​. It is easy to use for not only beginners but also experienced users.

ezButton stands for Easy Button

Features

  • Uses the internal pull-up resistor to avoid the floating value
  • Supports debounce to eliminate the chattering phenomenon
  • Supports the pressed and released events
  • Supports the counting (for FALLING, RISING and BOTH)
  • Easy to use with multiple buttons
  • All functions are non-blocking

Available Examples

Available Functions

  • setDebounceTime()
  • getState()
  • getStateRaw()
  • isPressed()
  • isReleased()
  • setCountMode()
  • getCount()
  • resetCount()
  • loop()

References