Because it's analog, you'll need two analog reading pins on your own microcontroller to find out X and Y. Having an additional electronic input will Permit you to read through the change.Note that this example assumes you're making use of an Arduino-appropriate board that supports the Joystick library, including the Arduino Leonardo or Micro. For o… Read More