Example of single tap and double tap detection for LSM6DSL in X-NUCLEO-IKS01A2

Dependencies:   X_NUCLEO_IKS01A2 mbed

Fork of SingleDoubleTap_IKS01A2 by ST Expansion SW Team

Single and Double Tap Demo Application based on sensor expansion board X-NUCLEO-IKS01A2

Main function is to show how to detect the single and double tap events 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 tap the board and then view the notification using an hyper terminal. When the single tap is detected, the LED is switched on for a while.
- the user can press the user button to pass from the single tap detection to the double tap detection feature. The user can try to double tap the board and then view the notification using an hyper terminal. When the double tap is detected, the LED is switched on twice for a while.
- the user can press again the user button to disable the single and double tap detection feature.
- the user can press the user button to enable again the single tap detection feature and so on.

Changes

RevisionDateWhoCommit message
22:c099076fb9cb 2017-09-08 nikapov Update libs. default tip
21:9885373efd69 2017-03-14 Davidroid Updated with the new version of the expansion board library.
20:68b2814eedac 2017-03-14 Davidroid Updated with the new version of the expansion board library.
19:ada8d403238b 2017-03-14 davide.aliprandi@st.com Aligning to ARM mbed coding style.
18:066bc1f18a72 2016-12-16 nikapov Update library.
17:c74765360cce 2016-12-15 cparata Update LSM6DSL library
16:47bb966920b7 2016-12-15 cparata Update mbed library
15:280b9018ed9c 2016-12-05 cparata Update libraries
14:1556d5cb2e9c 2016-12-02 cparata Clean code
13:ce4e62ea3c02 2016-12-02 cparata Update header
12:1af38b58392f 2016-12-02 cparata Update library
11:e4e4f6c3fcb5 2016-11-28 cparata Update library
10:fb7cc2385781 2016-11-28 cparata Clean some code
9:3cca185e654c 2016-11-28 nikapov Update library.
8:0e76b8668551 2016-11-28 nikapov Updated libs.
7:4f512b172555 2016-11-24 cparata Add possibility to choose the interrupt line for HW events
6:2380444e4c75 2016-11-23 cparata Move interrupt settings inside component drivers
5:7da0dc121ec6 2016-11-23 cparata Improve Multi Event Management
4:05f28412d61b 2016-11-21 cparata Add muti-event support
3:1676461f57b7 2016-08-19 cparata Fix issue in magnetometer class
2:21a191bd1998 2016-08-19 cparata Add interfaces to all components
1:e4ecb8d551fd 2016-08-19 cparata Add interfaces to all components
0:e4f89df7a7a5 2016-08-12 cparata First release of Single/Double Tap for LSM6DSL in IKS01A2