Good evening one and all.
I’ve recently built a Midi Controller for a guitar effects pedal. I’m looking to edit the code I’ve been gifted so that alternate presses on the same footswitch will perform different actions - if this is possible!
For example, instead of having 2 different buttons for “Play” and “Stop”, I want press 1 on a switch to Play, and press 2 to Stop.
How would one go about this?
Thanks in advance to anyone who can help :).
MyFS.ino (14.6 KB)