Inside Rearview Mirror Description and Operation: Compass
The mirror uses two magnetic field sensors for compass direction. One sensor is for north and south; the other is for east and west. The mirror supplies a signal and low reference to each sensor. As the vehicle travels with or against the earth's magnetic pull, there will be a change in voltage on one or both sensors. As a result of the change in voltage, the mirror changes the heading on the compass display.