I've been tracing the APM 2.5's inputs, outputs, and IO pins using the EAGLE files posted in the DIYDrones store. Tracing the PWM outputs back to the ATMega2560 is simple enough as they are directly connected. Tracing the general IO pins back to the ATMega2560 is a bit harder as some attach to both the PWM and the ADC pins on the ATMega2560. Tracing the PWM Inputs back to the ATMega2560 is rather difficult however, as they pass through the ATMega32 first. What is the function of the ATMega32 as used by the ArduRover code? More specifically, how would I write code to access the IO pins? What pin numbers do I use?