As it's analog, You'll have two analog reading pins with your microcontroller to determine X and Y. Owning an extra electronic input will Permit you to go through the change. This code reads the analog values from the joystick's X and Y pins, converts them into corresponding voltage values, and https://diy-arcade-parts15790.blogdanica.com/38288034/5-tips-about-gpadtester-you-can-use-today