SLAU599B August 2015 – July 2021
The ITEAD studio IM130330001 2-axis joystick with pushbutton is simply two potentiometers, one for each axis. The select button is actuated when the joystick is pressed down. The analogRead statement reads the voltage present on the joystick axis to provide the position of the joystick to the application (for example, pushing the joystick to the left reads X = 0). The reference designator for the analog joystick is JS1.
More information on the analog joystick can be found at http://imall.itead.cc/playstation2-analog-joystick.html.
BoosterPack Plug-in Module Header Connection | Pin Function |
---|---|
J1.2 | Horizontal X-axis |
J1.5 | Select button |
J3.26 | Vertical Y-axis |