Code for an OLED Accelerometer Compass Band