From the ground up code to read raw sensor data from adafruit 10 DOF