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

Dependencies:   MMA8451Q mbed

Auto generated API documentation and code listings for Accelerometer_ledcontrol

Code

main.cpp [code]