As it's analog, You will need two analog examining pins with your microcontroller to find out X and Y. Getting an additional electronic input will let you read through the change. The initial prevalence of analog sticks was as peripherals for flight simulator online games, to higher mirror the subtleties https://augustujxju.tinyblogging.com/how-much-you-need-to-expect-you-ll-pay-for-a-good-analog-stick-82034286