Because it's analog, You'll have two analog examining pins on your microcontroller to ascertain X and Y. Owning an additional electronic input will let you read the change. The joystick values are then printed to the serial keep track of, with a small delay among Every single looking at. These https://collinpssqo.angelinsblog.com/37064567/arcade-joystick-secrets