Set value of aux channel
Posted: Thu Apr 21, 2016 9:11 pm
Hello,
I have a distance sensor attached to the bottom of my copter. Furthermore I have the great EZ GUI for Android, which communicates via bluetooth and displays the sensor values and aux channel values etc. of the MultiWii.
Now I want to read the distance value of the sensor and set it to one of the aux channels, so that I can monitor the value using EZ GUI.
So my question is: Where in the MultiWii code is an appropriate place to read the sensor value and (more importantly) which variable do I need to set to have the distance value show up in aux5?
Of course aux5 is not used otherwise because my remote control has 8 channels.
I hope you can help me.
I have a distance sensor attached to the bottom of my copter. Furthermore I have the great EZ GUI for Android, which communicates via bluetooth and displays the sensor values and aux channel values etc. of the MultiWii.
Now I want to read the distance value of the sensor and set it to one of the aux channels, so that I can monitor the value using EZ GUI.
So my question is: Where in the MultiWii code is an appropriate place to read the sensor value and (more importantly) which variable do I need to set to have the distance value show up in aux5?
Of course aux5 is not used otherwise because my remote control has 8 channels.
I hope you can help me.