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