A simple program that changes the brightness of the red led using the value of X-axis from MMA8451Q accelerometer.

Dependencies:   MMA8451Q mbed