Since it's analog, You will need two analog studying pins with your microcontroller to ascertain X and Y. Possessing an extra digital input will Enable you to study the switch. The joystick values are then printed on the serial check, with a little delay in between Every single looking at. https://richardu692bwu3.mdkblog.com/profile