Hi,
I was just typing what @joepasquariello said..
A couple of other points you might want to look at:
- have you got the right SPI_MODE? The data sheet says it clocks the data on falling edge (SPI_MODE 1 or SPI_MODE2?)
- in loop you're...
Hi @AntiLoop
In the end I used a modified version of the Bounce2 library (modified to let it access the MCP23017 port expander as the buttons aren't connected directly to the Teensy pins but connected via I2C). cheers, Paul