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
.gitignore
- Committer:
- GregC
- Date:
- 2016-08-15
- Revision:
- 3:9f60cb7455c4
- Parent:
- 0:207337d58f96
File content as of revision 3:9f60cb7455c4:
.build .mbed projectfiles *.py*