Joystick Wiring & Example Code

The Parallax 2-Axis Joystick can be used for a wide variety of projects like wheeled robots, video games, or anything requiring user input. The Propeller Activity Board's A/D converter reads the joystick's output on each axis.

Wiring & Connections


Quick Code Example

Using the connections shown in the wiring diagram above, this program will show you Joystick Up/Down and Left/Right position values (0-99) in the Terminal.

BlocklyProp code to run a simple Terminal program for the 2-Axis Joystick.