Realization of a LCD Digital Compass