Connecting a digital compass to the Raspberry Pi