Because the joystick is moved, the potentiometers’ resistance variations, causing different voltage levels that may be study 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 to the serial watch https://everetty922qva8.wikiannouncing.com/user