Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years ago.
How to use FRDM-KL-25Z Accelerometer for bot control
I want use FRDM-KL-25Z accelerometer for controlling my bot I have included "MMA8451Q.h" file in my main.cpp. I tried to read x and Y values by x = abs(acc.getAccX()); y = abs(acc.getAccY()); it gives me error .