I'm trying to add 2 analog sensors to my APM2.5 system, both are 5v potentiometers.This is the essential code that I have added to the system:static int read_alpha(void){ int alpha; alpha = analogRead(7); //initially on 6, switch to 7 return…
Frankly, the hardware documentation for APM2.0 sucks. There isn't a single page that shows all the connections, what is active in the default configuration and how to modify the board to activate different serial and I2C I/O. Additionally, there…