I am currently working on a rover project, using the px4 as the flight controller. For the project, I would like to run a script in Mission Planner that is constantly polling a specific value in the status tab of Mission Planner, and then use an external voltage change through the ADC to change that value and allow the script to execute its functionality. It seemed initially that it would be easy to pretend that the voltage that I would be providing would just be like a sonar sensor, and I could be constantly watching the "sonarvoltage" status. I am having no luck with the "CAP & ADC IN" port. I was happy when I saw that this was an ADC, but cannot get it to change the value of sonar voltage in Mission Planner. I have looked at numerous tutorials, but it seems that most of the solutions that are out there are pertaining to the pixhawk, and not the px4.
Thanks in advance for any help!