As it's analog, You'll have two analog examining pins in your microcontroller to determine X and Y. Owning an additional electronic enter will Enable you to study the switch. There exists a Specific map, called "Mouse Pointer" which transforms the gadget into a mouse cursor pointer. The joystick has a https://emilianopfrcn.ourcodeblog.com/38376992/analog-joystick-fundamentals-explained