I want connect a potentiometer in the adc port of the pixhawk CubeBlack. The data that I want to get is position data. So, I connected the potentiometer in a cable and connected it to the ADC3,3V port. But, how do I use this port to get position data instead of airspeed? IN Mission Planner only have option airspeed.
For example, I put a cable with a load, when this load swings it will move the potentiometer that is connected to the ADC 3,3V port CubeBlack. But how do I use this port to get position data instead of airspeed.
How to get around this? Do you (or @Yuri_Rage and @dkemxr ) have annathor alternative using ADC port? (@dkemxr provided the possibility RSSI input but yet wanted to try ADC port)
Can python read the ADC port and store the data in the log?