Digital Compass Electronics with Atmel164P