I have the following hardware :-
I am wanting to create a foot pedal as my push to talk button for Discord etc.
Basically I want to assign a Keypress when the Reed Switch is closed.
I’m not sure how to wire the reed switch to the arduino (I assume I simple choose two ports, ie 3 and 4)
Then the next question is the code itself, how do I tell it if 3+4 are closed then send ‘character’
Any suggestions very welcome