I'm currently getting to grips with the FRDM-K64f board and am attempting to access the onboard FXOS8700CQ chip to calculate orientation information. I've managed to get the accelerometer information fine, but the magnetometer isn't updating the output registers. I've pored over the example code for a couple of days and can't see anything that I've missed. Attached is the main.cpp file from the mbed compiler, can anyone help?
Original Attachment has been moved to: main.cpp.zip
Hi
Please check below threads about using FXOS8700CQ magnetometer with FRDM-K64F board:
FXOS8700CQ Motion Detection and Interrupts
Wish it helps
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------