Detect 6 states of the board, display state.

Dependencies:   MMA8451Q

Fork of Accelerometer_example by William Marsh

no such method: tip