Making electronics projects using the arduino framework in platformio is amazingly fast, low-maintenance and wonderful. If you know how to set it up. Trying to get the right board matched with the ...
All switches are connected at one end to a pull-up input, and connect to ground on close. The analog input for the food pedal expects a potentiometer (e.g. 10k). Note that the MIDI output is used.