I am using the APM2.5 as a data logger. I am learning the code hoping to be able to make changes.
I eventually need 10 analog channels being recorded to Dataflash. In the meantime, I plan on using the 8 channels available: Two rangefinders, Airspeed, RSSI, and the two Battery Voltages and currents.
I am recording Airspeed, Battery Voltage & Battery Current as they were designed, all is good.
I am recording an analog signal using the Rangefinder1 setup. It shows up in the dataflash file as SONR. I have assigned pin 6 for RNGFND2_PIN, but I do not see it in the dataflash file! Does anyone know if the code has the second rangefinder data being written to dataflash?
When I assigned a pin # to BATT2.VOLT_PIN & BATT2_CURR_PIN the CURR line in the dataflash added a column of VOLT2, but no CURR2! Does anyone know if the code missed adding the second current? Where in the code would I find it? I have looked in DataFlash_APM2.cpp.