Digital Compass

This application shown magnetic heading to user using the magnetic field and accelerometer sensors. Also shown the user the pitch and roll parameter to set adequate the smartphone to found the correct orientation. This parameters change to green color when the smartphone is horizontal position and are displayed at the bottom of the screen. The orientation is displayed simulated analog compass; at the bottom of the screen are displayed another way to read the compass.