Since it's analog, You'll have two analog reading pins in your microcontroller to determine X and Y. Possessing an additional digital input will let you go through the switch. The joystick values are then printed towards the serial watch, with a small hold off among Every single looking through. The https://analog-stick71470.bloggactivo.com/37217665/diy-arcade-parts-can-be-fun-for-anyone