Simple accelerometer and magnetometer program example for Hexiwear featuring UART
Dependencies: FXOS8700
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
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
3:9f60cb7455c4 | 2016-08-15 | GregC | Accelerometer and magnetometer program example for hexiwear |
2:f9c24c129575 | 2016-08-15 | GregC | Accelerometer and Magnetometer program example for Hexiwear |
1:6da908234299 | 2016-08-13 | maclobdell | initial simple example that prints to terminal |
0:207337d58f96 | 2016-08-12 | maclobdell | initial |