Uploaded March 2020 | Updated November 2026, 16 hours ago
This is an Arduino Uno sketch and a C# class that let you connect any physical switch (on/off switch, foot pedal, button, etc.) to a computer using an Arduino Uno plugged in with USB. As many switches can be connected at once as your device has digital pins available, and it includes anti-floating input (the data pin being configured in pull-up mode) and debounces the switch before communicating over USB.
Arduino Uno Playlist: youtube.com/playlist?list=PLoNmuzhZIVoo0OjX-fHYO9fO2UdFJyUKK
Code Download: drive.google.com/open?id=17lU2EmIjeCE3wUp76AR5PSHDUJ3-tk_4
You can join me on Discord as well! -- discord.gg/Rnvpscg
This is an Arduino Uno sketch and a C# class that let you connect any physical switch (on/off switch, foot pedal, button, etc.) to a computer using an Arduino Uno plugged in with USB. As many switches can be connected at once as your device has digital pins available, and it includes anti-floating input (the data pin being configured in pull-up mode) and debounces the switch before communicating over USB.
Arduino Uno Playlist: youtube.com/playlist?list=PLoNmuzhZIVoo0OjX-fHYO9fO2UdFJyUKK
Code Download: drive.google.com/open?id=17lU2EmIjeCE3wUp76AR5PSHDUJ3-tk_4
You can join me on Discord as well! -- discord.gg/Rnvpscg










