I am trying to get a motor to go a specific height with my potentiometer in operator control. I have been trying to figure out how to do so by pressing one of the buttons on channel 8 of the joystick, and I just can’t figure it out. Can you help or give any advice?
See the sample “PID Interrupt Service Routine” it does what you want with a digital input just change it to “Get Joystick Digital”