Since it's analog, You will need two analog studying pins on your microcontroller to find out X and Y. Possessing an additional digital enter will Enable you to go through the swap. This code reads the analog values from the joystick's X and Y pins, converts them into corresponding voltage https://peterz934tad2.dailyhitblog.com/profile