User Manual

100
/
223
We need 5 connections to the joystick.
The connections are: Key, Y, X, Voltage and Ground.
“Y and X” are Analog and “Key” is Digital. If you don’t need the switch then you can
use only 4 pins.
Code
After wiring, please open the program in the code folder- Lesson 13 Analog Joystick
Module and click UPLOAD to upload the program. See Lesson 2 for details about
program uploading if there are any errors.
Analog joysticks are basically potentiometers so they return analog values.
When the joystick is in the resting position or middle, it should return a value of
about 512.
The range of values goes from 0 to 1024.
Example picture