Using the button code will remove bounces of [0,1,0,1, ...] on switch change that can trigger on pressing. Doing direct digital read could mistake this chatter as un-pressed when it is really pressed...
Type: Posts; User: defragster
Using the button code will remove bounces of [0,1,0,1, ...] on switch change that can trigger on pressing. Doing direct digital read could mistake this chatter as un-pressed when it is really pressed...
What Teensy is in use? How are the inputs changed? If manually by people that leaves a lot more room to determine 'at the same time'.