Detect 6 states of the board, display state.

Dependencies:   MMA8451Q

Fork of Accelerometer_example by William Marsh

shortlog@cc80ef6fc8c2: not found in manifest