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 . /media/uploads/KRUSHNA583/bot_using_mbed.jpg

Be the first to answer this question.