Closed RicheClaw15 closed 1 year ago
It depends on what hardware switches you have available in the joystick. The easiest is to use pulled up inputs on the arduino and use the switches/buttons to short them to ground.
bro can you please explain with diagram
i don't understand that thing
i have already have a pin connected to gnd, do i need to connect it again with switch
The pin has to be connected to gnd through the switch/button that you want to use. Does your joystick have buttons? Have you wired these buttons in some way?
it worked
I am using a old rc joystick with arduino uno. How to add buttons to it. Which wires should be soldered in the joystick?