Since the joystick is moved, the potentiometers’ resistance improvements, resulting in different voltage ranges which might be examine by a microcontroller or other processing device. This code reads the analog values from the joystick's X and Y pins, converts them into corresponding voltage values, and prints them over the serial https://jaidenvzaaz.prublogger.com/37164918/arcade-joystick-secrets