Now we migrate to learning how to control hardware using a joystick
The joystick in your kit has two parts – the plastic cover and the hardware guts. You will need five male to female wires.
Fun fact – the joystick controller is an actual button so you have up/down/left/right and a button. Such a deal.
Arduino joystick programming and wiring handout
After you get this program done, move on to LED Joystick Control.