state led / position change

Dependencies:   MMA8451Q

Fork of Accelerometer_example by William Marsh