Simple accelerometer and magnetometer program example for Hexiwear featuring UART
Fork of Hexi_Accelero_Magneto_Example by
This project demonstrates the use of the FXOS8700CQ combo Accelerometer and Magnetometer sensor embedded in hexiwear
Open a Hyperterminal tool on your computer and connect it to the "mbed Serial port (COMxx)" with Baud rate "9600bps"
Compile the project and copy the binary "Hexi_Accelero_Magneto_Example_HEXIWEAR.bin" in the DAP-LINK drive from your computer file explorer Press the K64F-RESET button on the docking station to start the program on your board
Message "Begin Data Acquisition from FXOS8700CQ sensor..." will appear in the Hyperterminal window
Then every 500ms the value of the Accelerometer and the Magnetometer for the Axis X, Y and Z plus their RMS value will be displayed in the Hyperterminal window and the LED will blink Green
FXOS8700.lib@3:9f60cb7455c4, 2016-08-15 (annotated)
- Mon Aug 15 23:31:10 2016 +0000
Accelerometer and magnetometer program example for hexiwear
Who changed what in which revision?
|User||Revision||Line number||New contents of line|