I'm using a teensy 3.2 pcb for a project. I got 12 buttons working perfectly.
But I would like to add a button which can be swiched on or off. Based on the position of this button the other buttons skip parts of the script or not.
I am using the Bounce library to check the state of the buttons.
Can use the digitalWrite() function for the switch or is this not the best way because of signal noise?