A compass is a sensor which detects its orientation with respect to the earth's magnetic field, and displays it or outputs as an electronic signal.
A compass is a sensor which detects its orientation with respect to the earth's magnetic field, and displays it or outputs as an electronic signal.