code used for this instructable: http://www.instructables.com/id/Earth-Globe-Rotating-With-Arduino-Or-Raspberry-Pi-/