SOLVED: possible faulty gps/mag (even though mag works in an Rasberry Pi)
After having problems using the internal MAG in a Revo I bought myself a GPS+Mag unit - a NEO-7M.
I am using the 'next' branch and can see Aux Mag settings.
Once wired up the GPS works fine, so the unit is powered up.
It's wired up as per the left item here
https://librepilot.atlassian.net/wiki/download/attachments/12058679/gps_wiring.png I have opened the casing and confirmed the SCL/SDA connections, I've also tried swapping them just incase with no luck.
I have the mag setting set to Aux Only, when I change to internal only I can see data from that sensor but nothing at all once I am set to Aux.
I have powered the unit with the flight battery before plugging USB in - I also use an OPLink groundstation and have tried this on both.
MAG is black, I2C is black, SENSOR is green.
MagState.Source is showing Invalid
I've changed AuxMagSensor.MetaData / Flight Telemetry update to 1000ms and sent it, confirmed its applied by reading the entry back.
I have tested GPS in the Flexi port to confirm the port is working and all seems okay.
I have no way to confirm the magnetometer is working separately, how could I do that? I have many USB>RS232 adaptors and such.
I have read through
https://librepilot.atlassian.net/wiki/display/LPDOC/Aux+Mag+Setup+and+Calibration I am confused with the "- Pick a port to use: FlexiPort or I2CPort" line, since the Revo has an I2C port (as far as I know) and there is an option for such. With this I also tried setting AuxMagSettings.Type = Flexi instead of I2C, I have also tried going through the wizard and letting that set it based on selection with no luck either.