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@3:9f60cb7455c4, 2016-08-15 (annotated)
- Committer:
- GregC
- Date:
- Mon Aug 15 23:31:10 2016 +0000
- Revision:
- 3:9f60cb7455c4
- Parent:
- 0:207337d58f96
Accelerometer and magnetometer program example for hexiwear
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
maclobdell | 0:207337d58f96 | 1 | .build |
maclobdell | 0:207337d58f96 | 2 | .mbed |
maclobdell | 0:207337d58f96 | 3 | projectfiles |
maclobdell | 0:207337d58f96 | 4 | *.py* |