Example of tilt detection for LSM6DSL in X-NUCLEO-IKS01A2
Dependencies: X_NUCLEO_IKS01A2 mbed
Fork of Tilt_IKS01A2 by
Tilt Detection Demo Application based on sensor expansion board X-NUCLEO-IKS01A2
Main function is to show how to detect the tilt event using the sensor expansion board and send a notification using UART to a connected PC or Desktop and display it on terminal applications like TeraTerm.
After connection has been established:
- the user can try to tilt the board and then view the notification using an hyper terminal. When the tilt event is detected, the LED is switched on for a while.
- the user button can be used to enable/disable the tilt detection feature.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
13:aa7ff438087f | 2017-03-14 | Aligning to ARM mbed coding style. | File Diff Annotate |
8:a7c8d10449a3 | 2016-12-02 | Clean code | File Diff Annotate |
7:369954b853d4 | 2016-11-24 | Add possibility to choose the interrupt line for HW events | File Diff Annotate |
6:54b10a8fb90f | 2016-11-23 | Move interrupt settings inside component drivers | File Diff Annotate |
4:49b63c3f26ae | 2016-11-21 | Add muti-event support | File Diff Annotate |
0:489965565a0d | 2016-08-12 | First release of Tilt Detection for LSM6DSL in IKS01A2 | File Diff Annotate |