"Sensors Reader" Sample Application for X-NUCLEO-IKS01A1 Expansion Board
Dependencies: X_NUCLEO_IKS01A1 mbed
Fork of Sensors_Reader by
X-NUCLEO-IKS01A1 MEMS Inertial & Environmental Sensor Nucleo Expansion Board Firmware Package
Introduction
This firmware package includes Components Device Drivers, Board Support Package and example applications for STMicroelectronics X-NUCLEO-IKS01A1 MEMS Inertial & Environmental Nucleo Expansion Board.
Example Application
First of all, the example application outputs information retrieved from the Expansion Board over UART.
Launch a terminal application (e.g.: PuTTY
on Windows, Minicom
on Linux) and set the UART port to 9600 bps, 8 bit, No Parity,
1 stop bit.
The "Sensors Reader" program is a more complex example of how to use the X-NUCLEO-IKS01A1 expansion board featuring among others:
- Support for LSM6DS3 3D Accelerometer & Gyroscope (on DIL 24-pin socket) including free-fall detection
- Usage of LED & Ticker
- Exploitation of wait for event
- (Top-/Bottom-Half) Interrupt handling
Revision 51:5ce8202680b4, committed 2015-06-25
- Comitter:
- Wolfgang Betz
- Date:
- Thu Jun 25 10:44:34 2015 +0200
- Parent:
- 50:4a902230142d
- Child:
- 52:5f712b172bd1
- Child:
- 53:7b6bec832e62
- Commit message:
- Get a comment right
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jun 24 14:03:07 2015 +0200 +++ b/main.cpp Thu Jun 25 10:44:34 2015 +0200 @@ -231,7 +231,7 @@ /*** Main function ------------------------------------------------------------- ***/ -/* Generic main function/loop for enabling WFI in case of +/* Generic main function/loop for enabling WFE in case of interrupt based cyclic execution */ int main()