evert-arias / EasyButton

Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
https://easybtn.earias.me
MIT License
447 stars 62 forks source link

vButton with MCP23017 #77

Open lmeyer200 opened 1 year ago

lmeyer200 commented 1 year ago

Hello, I wanted to try the vButton function on a button connected to an MCP23017 I/O Expander and. The MCP23017 is connected to an atmega328p. Unfortunately, no matter what I try, I can't get the code running. And I can't find any example code for it either. For the MCP23017 I used the Adafruit_MCP23X17.h library!

Has anyone done this before and can help me?

Thanks!