Description
ButtonBoard provides button debouncing and recognition of common gestures such as double-press and long-press for up to five buttons. Each button can function as a switch that toggles an output pin upon detection of a gesture. The device communicates as I2C slave or via serial UART and is highly configurable. The configuration is stored in flash.
The board has an LED that can be assigned to any of the switch outputs or can be digitally controlled. An onboard button allows for easy testing. By default the onboard button and LED are both assigned to the first channel. By default each of the switch outputs is configured to toggle on one of five common gestures, so the board can be used via pin inputs/outputs out of the box (See I2C Register Defaults).
The board can be used as an I/O expander by digitally reading input pins and overriding output pins. Channels configured for button processing can take their input from either an input pin or be digitally overridden.
Features
Contents