As it's analog, You will need two analog reading pins on your own microcontroller to determine X and Y. Acquiring an extra digital input will let you examine the switch. This code reads the analog values from the joystick's X and Y pins, converts them into corresponding voltage values, and https://englandg483fga3.angelinsblog.com/profile