From 44d169b97ff7addc38d6132f4e794fb098856565 Mon Sep 17 00:00:00 2001 From: tkhabia Date: Sat, 7 Mar 2020 22:51:32 +0530 Subject: [PATCH 01/11] fix #3 added AccelerometerTap code. --- .../AccelerometerTap/AccelerometerTap.ino | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 examples/AccelerometerTap/AccelerometerTap.ino diff --git a/examples/AccelerometerTap/AccelerometerTap.ino b/examples/AccelerometerTap/AccelerometerTap.ino new file mode 100644 index 0000000..4100895 --- /dev/null +++ b/examples/AccelerometerTap/AccelerometerTap.ino @@ -0,0 +1,38 @@ +/* +Arduino LSM6DS3 - Accelerometer Tap + +this is a code to detect tap +via the help of acceleration Available +and the direction it is in and print it on +the serial monitor. + +Made by +tanmay khabia + +*/ + +#include + +void setup() { + Serial.begin(9600); + while (!Serial); + + while (!IMU.begin()) { + Serial.println("Failed to initialize IMU!"); + + delay (3000); // wait for 3 sec and check if it can be initialize again + } +} +float tapThreshold = 0.05 ; //0.49 m/sec^2 acceleration in some direction is considered as tap. it can be change for the required sensitivity. +void loop() { + float x, y, z; + if (IMU.accelerationAvailable()) { + IMU.readAcceleration(x, y, z); + if(x > tapThreshold | x < -tapThreshold) + Serial.println("Tap detected across X-axis"); + if(y > tapThreshold | y < -tapThreshold) + Serial.println("Tap detected across Y-axis"); + if(z > tapThreshold | z < -tapThreshold) + Serial.println("Tap detected across Z-axis"); + } +} \ No newline at end of file From c3502b704edd06320e4daf7189540a942276bf1b Mon Sep 17 00:00:00 2001 From: tkhabia Date: Fri, 13 Mar 2020 22:30:36 +0530 Subject: [PATCH 02/11] Applied the requested changes in the example file. --- .../AccelerometerTap/AccelerometerTap.ino | 46 +++++++++++++------ 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/examples/AccelerometerTap/AccelerometerTap.ino b/examples/AccelerometerTap/AccelerometerTap.ino index 4100895..2961f91 100644 --- a/examples/AccelerometerTap/AccelerometerTap.ino +++ b/examples/AccelerometerTap/AccelerometerTap.ino @@ -1,13 +1,12 @@ /* -Arduino LSM6DS3 - Accelerometer Tap + Arduino LSM6DS3 - Accelerometer Tap -this is a code to detect tap -via the help of acceleration Available -and the direction it is in and print it on -the serial monitor. + this code is to detect tap -Made by -tanmay khabia + usign IMU.accelerationAvailable() + + Made by + tanmay khabia */ @@ -15,24 +14,41 @@ tanmay khabia void setup() { Serial.begin(9600); + while (!Serial); while (!IMU.begin()) { + Serial.println("Failed to initialize IMU!"); delay (3000); // wait for 3 sec and check if it can be initialize again + } + } -float tapThreshold = 0.05 ; //0.49 m/sec^2 acceleration in some direction is considered as tap. it can be change for the required sensitivity. + +float tapThreshold = 0.05 ; //0.05g acceleration in some direction is considered as tap. it can be change for the required sensitivity. + void loop() { + float x, y, z; + if (IMU.accelerationAvailable()) { + IMU.readAcceleration(x, y, z); - if(x > tapThreshold | x < -tapThreshold) - Serial.println("Tap detected across X-axis"); - if(y > tapThreshold | y < -tapThreshold) - Serial.println("Tap detected across Y-axis"); - if(z > tapThreshold | z < -tapThreshold) - Serial.println("Tap detected across Z-axis"); + + if (x > tapThreshold || x < -tapThreshold) { + + Serial.println("Tap detected across X-axis"); + } + if (y > tapThreshold || y < -tapThreshold) { + + Serial.println("Tap detected across Y-axis"); + } + if (z > tapThreshold || z < -tapThreshold) { + + Serial.println("Tap detected across Z-axis"); + } } -} \ No newline at end of file + +} From 71d1a8de38cc8d25bdeed440a60458b91f47d877 Mon Sep 17 00:00:00 2001 From: tkhabia Date: Fri, 13 Mar 2020 23:17:49 +0530 Subject: [PATCH 03/11] Applied the requested changes in the example file. --- .../.vscode/c_cpp_properties.json | 16 ++++++++++++++++ examples/AccelerometerTap/AccelerometerTap.ino | 10 ++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 examples/AccelerometerTap/.vscode/c_cpp_properties.json diff --git a/examples/AccelerometerTap/.vscode/c_cpp_properties.json b/examples/AccelerometerTap/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..0b0eed0 --- /dev/null +++ b/examples/AccelerometerTap/.vscode/c_cpp_properties.json @@ -0,0 +1,16 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/**" + ], + "defines": [], + "compilerPath": "/usr/bin/gcc", + "cStandard": "c11", + "cppStandard": "c++17", + "intelliSenseMode": "clang-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/examples/AccelerometerTap/AccelerometerTap.ino b/examples/AccelerometerTap/AccelerometerTap.ino index 2961f91..9b0f26a 100644 --- a/examples/AccelerometerTap/AccelerometerTap.ino +++ b/examples/AccelerometerTap/AccelerometerTap.ino @@ -3,7 +3,7 @@ this code is to detect tap - usign IMU.accelerationAvailable() + using IMU.accelerationAvailable() Made by tanmay khabia @@ -29,6 +29,8 @@ void setup() { float tapThreshold = 0.05 ; //0.05g acceleration in some direction is considered as tap. it can be change for the required sensitivity. +int down = 3 ; // signifing the direction of which is facing downward 1 for x axis ; 2 for y axis ; 3 for z axis; + void loop() { float x, y, z; @@ -37,15 +39,15 @@ void loop() { IMU.readAcceleration(x, y, z); - if (x > tapThreshold || x < -tapThreshold) { + if ((x > tapThreshold || x < -tapThreshold) && down != 1 ) { Serial.println("Tap detected across X-axis"); } - if (y > tapThreshold || y < -tapThreshold) { + if ((y > tapThreshold || y < -tapThreshold) && down != 2 ) { Serial.println("Tap detected across Y-axis"); } - if (z > tapThreshold || z < -tapThreshold) { + if ((z > tapThreshold || z < -tapThreshold)&& down != 3 ) { Serial.println("Tap detected across Z-axis"); } From 481761e23510417123c85375e9b719f54996ae54 Mon Sep 17 00:00:00 2001 From: tkhabia Date: Fri, 13 Mar 2020 23:19:03 +0530 Subject: [PATCH 04/11] Applied the requested changes in the example file. --- .../.vscode/c_cpp_properties.json | 16 ---------- vivado.jou | 29 ++++++++++++++++++ vivado.log | 30 +++++++++++++++++++ 3 files changed, 59 insertions(+), 16 deletions(-) delete mode 100644 examples/AccelerometerTap/.vscode/c_cpp_properties.json create mode 100644 vivado.jou create mode 100644 vivado.log diff --git a/examples/AccelerometerTap/.vscode/c_cpp_properties.json b/examples/AccelerometerTap/.vscode/c_cpp_properties.json deleted file mode 100644 index 0b0eed0..0000000 --- a/examples/AccelerometerTap/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "configurations": [ - { - "name": "Linux", - "includePath": [ - "${workspaceFolder}/**" - ], - "defines": [], - "compilerPath": "/usr/bin/gcc", - "cStandard": "c11", - "cppStandard": "c++17", - "intelliSenseMode": "clang-x64" - } - ], - "version": 4 -} \ No newline at end of file diff --git a/vivado.jou b/vivado.jou new file mode 100644 index 0000000..886a577 --- /dev/null +++ b/vivado.jou @@ -0,0 +1,29 @@ +#----------------------------------------------------------- +# Vivado v2019.1 (64-bit) +# SW Build 2552052 on Fri May 24 14:47:09 MDT 2019 +# IP Build 2548770 on Fri May 24 18:01:18 MDT 2019 +# Start of session at: Sun Mar 8 00:13:00 2020 +# Process ID: 29829 +# Current directory: /home/tanmay/tanmay/Arduino_LSM6DS3 +# Command line: vivado +# Log file: /home/tanmay/tanmay/Arduino_LSM6DS3/vivado.log +# Journal file: /home/tanmay/tanmay/Arduino_LSM6DS3/vivado.jou +#----------------------------------------------------------- +start_gui +open_project /home/tanmay/processor/processor.xpr +update_compile_order -fileset sources_1 +# Disabling source management mode. This is to allow the top design properties to be set without GUI intervention. +set_property source_mgmt_mode None [current_project] +set_property top alu32 [current_fileset] +# Re-enabling previously disabled source management mode. +set_property source_mgmt_mode All [current_project] +update_compile_order -fileset sources_1 +reset_run synth_1 +launch_runs synth_1 -jobs 4 +wait_on_run synth_1 +# Disabling source management mode. This is to allow the top design properties to be set without GUI intervention. +set_property source_mgmt_mode None [current_project] +set_property top processor [current_fileset] +# Re-enabling previously disabled source management mode. +set_property source_mgmt_mode All [current_project] +update_compile_order -fileset sources_1 diff --git a/vivado.log b/vivado.log new file mode 100644 index 0000000..67687d7 --- /dev/null +++ b/vivado.log @@ -0,0 +1,30 @@ +#----------------------------------------------------------- +# Vivado v2019.1 (64-bit) +# SW Build 2552052 on Fri May 24 14:47:09 MDT 2019 +# IP Build 2548770 on Fri May 24 18:01:18 MDT 2019 +# Start of session at: Sun Mar 8 00:13:00 2020 +# Process ID: 29829 +# Current directory: /home/tanmay/tanmay/Arduino_LSM6DS3 +# Command line: vivado +# Log file: /home/tanmay/tanmay/Arduino_LSM6DS3/vivado.log +# Journal file: /home/tanmay/tanmay/Arduino_LSM6DS3/vivado.jou +#----------------------------------------------------------- +start_gui +open_project /home/tanmay/processor/processor.xpr +Scanning sources... +Finished scanning sources +INFO: [IP_Flow 19-234] Refreshing IP repositories +INFO: [IP_Flow 19-1704] No user IP repositories specified +INFO: [IP_Flow 19-2313] Loaded Vivado IP repository '/tools/Xilinx/Vivado/2019.1/data/ip'. +open_project: Time (s): cpu = 00:00:19 ; elapsed = 00:00:06 . Memory (MB): peak = 6547.570 ; gain = 160.758 ; free physical = 6884 ; free virtual = 26491 +update_compile_order -fileset sources_1 +set_property top alu32 [current_fileset] +update_compile_order -fileset sources_1 +reset_run synth_1 +launch_runs synth_1 -jobs 4 +[Sun Mar 8 00:44:48 2020] Launched synth_1... +Run output will be captured here: /home/tanmay/processor/processor.runs/synth_1/runme.log +set_property top processor [current_fileset] +update_compile_order -fileset sources_1 +exit +INFO: [Common 17-206] Exiting Vivado at Sun Mar 8 02:19:44 2020... From 8e40c311b47d8374766a9e45c8c3400a395e9a95 Mon Sep 17 00:00:00 2001 From: tkhabia Date: Fri, 13 Mar 2020 23:20:01 +0530 Subject: [PATCH 05/11] Applied the requested changes in the example file. --- vivado.jou | 29 ----------------------------- vivado.log | 30 ------------------------------ 2 files changed, 59 deletions(-) delete mode 100644 vivado.jou delete mode 100644 vivado.log diff --git a/vivado.jou b/vivado.jou deleted file mode 100644 index 886a577..0000000 --- a/vivado.jou +++ /dev/null @@ -1,29 +0,0 @@ -#----------------------------------------------------------- -# Vivado v2019.1 (64-bit) -# SW Build 2552052 on Fri May 24 14:47:09 MDT 2019 -# IP Build 2548770 on Fri May 24 18:01:18 MDT 2019 -# Start of session at: Sun Mar 8 00:13:00 2020 -# Process ID: 29829 -# Current directory: /home/tanmay/tanmay/Arduino_LSM6DS3 -# Command line: vivado -# Log file: /home/tanmay/tanmay/Arduino_LSM6DS3/vivado.log -# Journal file: /home/tanmay/tanmay/Arduino_LSM6DS3/vivado.jou -#----------------------------------------------------------- -start_gui -open_project /home/tanmay/processor/processor.xpr -update_compile_order -fileset sources_1 -# Disabling source management mode. This is to allow the top design properties to be set without GUI intervention. -set_property source_mgmt_mode None [current_project] -set_property top alu32 [current_fileset] -# Re-enabling previously disabled source management mode. -set_property source_mgmt_mode All [current_project] -update_compile_order -fileset sources_1 -reset_run synth_1 -launch_runs synth_1 -jobs 4 -wait_on_run synth_1 -# Disabling source management mode. This is to allow the top design properties to be set without GUI intervention. -set_property source_mgmt_mode None [current_project] -set_property top processor [current_fileset] -# Re-enabling previously disabled source management mode. -set_property source_mgmt_mode All [current_project] -update_compile_order -fileset sources_1 diff --git a/vivado.log b/vivado.log deleted file mode 100644 index 67687d7..0000000 --- a/vivado.log +++ /dev/null @@ -1,30 +0,0 @@ -#----------------------------------------------------------- -# Vivado v2019.1 (64-bit) -# SW Build 2552052 on Fri May 24 14:47:09 MDT 2019 -# IP Build 2548770 on Fri May 24 18:01:18 MDT 2019 -# Start of session at: Sun Mar 8 00:13:00 2020 -# Process ID: 29829 -# Current directory: /home/tanmay/tanmay/Arduino_LSM6DS3 -# Command line: vivado -# Log file: /home/tanmay/tanmay/Arduino_LSM6DS3/vivado.log -# Journal file: /home/tanmay/tanmay/Arduino_LSM6DS3/vivado.jou -#----------------------------------------------------------- -start_gui -open_project /home/tanmay/processor/processor.xpr -Scanning sources... -Finished scanning sources -INFO: [IP_Flow 19-234] Refreshing IP repositories -INFO: [IP_Flow 19-1704] No user IP repositories specified -INFO: [IP_Flow 19-2313] Loaded Vivado IP repository '/tools/Xilinx/Vivado/2019.1/data/ip'. -open_project: Time (s): cpu = 00:00:19 ; elapsed = 00:00:06 . Memory (MB): peak = 6547.570 ; gain = 160.758 ; free physical = 6884 ; free virtual = 26491 -update_compile_order -fileset sources_1 -set_property top alu32 [current_fileset] -update_compile_order -fileset sources_1 -reset_run synth_1 -launch_runs synth_1 -jobs 4 -[Sun Mar 8 00:44:48 2020] Launched synth_1... -Run output will be captured here: /home/tanmay/processor/processor.runs/synth_1/runme.log -set_property top processor [current_fileset] -update_compile_order -fileset sources_1 -exit -INFO: [Common 17-206] Exiting Vivado at Sun Mar 8 02:19:44 2020... From 5db757f706d7a76874289bc169155196ed24ab36 Mon Sep 17 00:00:00 2001 From: tkhabia Date: Fri, 13 Mar 2020 23:26:40 +0530 Subject: [PATCH 06/11] Applied the requested changes in the example file. --- examples/AccelerometerTap/AccelerometerTap.ino | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/AccelerometerTap/AccelerometerTap.ino b/examples/AccelerometerTap/AccelerometerTap.ino index 9b0f26a..3c2c80c 100644 --- a/examples/AccelerometerTap/AccelerometerTap.ino +++ b/examples/AccelerometerTap/AccelerometerTap.ino @@ -5,9 +5,6 @@ using IMU.accelerationAvailable() - Made by - tanmay khabia - */ #include From cfc45a8dcb7907e3157cc8b2f12e78ee3038a533 Mon Sep 17 00:00:00 2001 From: tkhabia Date: Tue, 17 Mar 2020 09:52:23 +0530 Subject: [PATCH 07/11] resolved #3 resolved the requested changes. --- .../AccelerometerTap/AccelerometerTap.ino | 29 ++++++------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/examples/AccelerometerTap/AccelerometerTap.ino b/examples/AccelerometerTap/AccelerometerTap.ino index 3c2c80c..8bbc6dc 100644 --- a/examples/AccelerometerTap/AccelerometerTap.ino +++ b/examples/AccelerometerTap/AccelerometerTap.ino @@ -2,7 +2,6 @@ Arduino LSM6DS3 - Accelerometer Tap this code is to detect tap - using IMU.accelerationAvailable() */ @@ -15,39 +14,29 @@ void setup() { while (!Serial); while (!IMU.begin()) { - Serial.println("Failed to initialize IMU!"); - - delay (3000); // wait for 3 sec and check if it can be initialize again - + delay(3000); // wait for 3 sec and check if it can be initialized again } - } +float tapThreshold = 0.05; //0.05 g acceleration in some direction is considered as tap. it can be change for the required sensitivity. -float tapThreshold = 0.05 ; //0.05g acceleration in some direction is considered as tap. it can be change for the required sensitivity. - -int down = 3 ; // signifing the direction of which is facing downward 1 for x axis ; 2 for y axis ; 3 for z axis; +int down = 3; // signifying the direction of which is facing downward 1 for x axis ; 2 for y axis ; 3 for z axis; void loop() { - float x, y, z; - if (IMU.accelerationAvailable()) { - IMU.readAcceleration(x, y, z); - - if ((x > tapThreshold || x < -tapThreshold) && down != 1 ) { - + + if ((x > tapThreshold || x < -tapThreshold) && down != 1) { Serial.println("Tap detected across X-axis"); } - if ((y > tapThreshold || y < -tapThreshold) && down != 2 ) { - + + if ((y > tapThreshold || y < -tapThreshold) && down != 2) { Serial.println("Tap detected across Y-axis"); } - if ((z > tapThreshold || z < -tapThreshold)&& down != 3 ) { - + + if ((z > tapThreshold || z < -tapThreshold)&& down != 3) { Serial.println("Tap detected across Z-axis"); } } - } From 1618d6b8609f0d7a73ec3ca4eb9672b47f91948a Mon Sep 17 00:00:00 2001 From: tkhabia Date: Tue, 17 Mar 2020 09:59:55 +0530 Subject: [PATCH 08/11] resolve #3 --- examples/AccelerometerTap/AccelerometerTap.ino | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/AccelerometerTap/AccelerometerTap.ino b/examples/AccelerometerTap/AccelerometerTap.ino index 8bbc6dc..9834652 100644 --- a/examples/AccelerometerTap/AccelerometerTap.ino +++ b/examples/AccelerometerTap/AccelerometerTap.ino @@ -1,4 +1,4 @@ -/* +/* Arduino LSM6DS3 - Accelerometer Tap this code is to detect tap @@ -18,24 +18,24 @@ void setup() { delay(3000); // wait for 3 sec and check if it can be initialized again } } -float tapThreshold = 0.05; //0.05 g acceleration in some direction is considered as tap. it can be change for the required sensitivity. +float tapThreshold = 0.05; //0.05 g acceleration in some direction is considered as tap. it can be changed for the required sensitivity. -int down = 3; // signifying the direction of which is facing downward 1 for x axis ; 2 for y axis ; 3 for z axis; +int down = 3; // signifying the direction of which is facing downward 1 for x axis; 2 for y axis; 3 for z axis; void loop() { float x, y, z; if (IMU.accelerationAvailable()) { IMU.readAcceleration(x, y, z); - + if ((x > tapThreshold || x < -tapThreshold) && down != 1) { Serial.println("Tap detected across X-axis"); } - + if ((y > tapThreshold || y < -tapThreshold) && down != 2) { Serial.println("Tap detected across Y-axis"); } - - if ((z > tapThreshold || z < -tapThreshold)&& down != 3) { + + if ((z > tapThreshold || z < -tapThreshold) && down != 3) { Serial.println("Tap detected across Z-axis"); } } From 46b3e866da025a6aeae0fcbf1a07b34c2e29e995 Mon Sep 17 00:00:00 2001 From: tkhabia Date: Wed, 1 Apr 2020 14:18:30 +0530 Subject: [PATCH 09/11] resolve #3 tried to resolve the requested querry. --- .../AccelerometerTap/AccelerometerTap.ino | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/examples/AccelerometerTap/AccelerometerTap.ino b/examples/AccelerometerTap/AccelerometerTap.ino index 9834652..6b179dc 100644 --- a/examples/AccelerometerTap/AccelerometerTap.ino +++ b/examples/AccelerometerTap/AccelerometerTap.ino @@ -8,34 +8,42 @@ #include +float tapThreshold ; +float xi, yi , zi ; + void setup() { + Serial.begin(9600); while (!Serial); - + while (!IMU.begin()) { Serial.println("Failed to initialize IMU!"); delay(3000); // wait for 3 sec and check if it can be initialized again } + + if (IMU.accelerationAvailable()) { + IMU.readAcceleration(xi, yi, zi); // initial values of acceleration including gravity or some zero error. + } + + tapThreshold = 0.05; //0.05 g acceleration in some direction is considered as tap. it can be changed for the required sensitivity. } -float tapThreshold = 0.05; //0.05 g acceleration in some direction is considered as tap. it can be changed for the required sensitivity. - -int down = 3; // signifying the direction of which is facing downward 1 for x axis; 2 for y axis; 3 for z axis; void loop() { float x, y, z; if (IMU.accelerationAvailable()) { IMU.readAcceleration(x, y, z); - - if ((x > tapThreshold || x < -tapThreshold) && down != 1) { + + // workes on difference from initial acceleration to the current acceleration + if (x -xi > tapThreshold || x-xi < -tapThreshold){ Serial.println("Tap detected across X-axis"); } - if ((y > tapThreshold || y < -tapThreshold) && down != 2) { + if (y-yi > tapThreshold || y-yi < -tapThreshold){ Serial.println("Tap detected across Y-axis"); } - if ((z > tapThreshold || z < -tapThreshold) && down != 3) { + if (z-zi > tapThreshold || z-zi < -tapThreshold) { Serial.println("Tap detected across Z-axis"); } } From 195dcbc6c7fb034d4c1496662bad7adfe6daa793 Mon Sep 17 00:00:00 2001 From: tkhabia Date: Wed, 1 Apr 2020 14:27:42 +0530 Subject: [PATCH 10/11] resolve #3 --- examples/AccelerometerTap/AccelerometerTap.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/AccelerometerTap/AccelerometerTap.ino b/examples/AccelerometerTap/AccelerometerTap.ino index 6b179dc..6549cbb 100644 --- a/examples/AccelerometerTap/AccelerometerTap.ino +++ b/examples/AccelerometerTap/AccelerometerTap.ino @@ -23,7 +23,7 @@ void setup() { } if (IMU.accelerationAvailable()) { - IMU.readAcceleration(xi, yi, zi); // initial values of acceleration including gravity or some zero error. + IMU.readAcceleration(xi, yi, zi); //To set initial values of acceleration, including gravity and some zero error. } tapThreshold = 0.05; //0.05 g acceleration in some direction is considered as tap. it can be changed for the required sensitivity. @@ -34,7 +34,7 @@ void loop() { if (IMU.accelerationAvailable()) { IMU.readAcceleration(x, y, z); - // workes on difference from initial acceleration to the current acceleration + // works on the difference from initial acceleration to the current acceleration if (x -xi > tapThreshold || x-xi < -tapThreshold){ Serial.println("Tap detected across X-axis"); } From 3eb3475e765a270b93fe2bdb27183d38a3573bc6 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Thu, 22 Jul 2021 09:23:21 +0200 Subject: [PATCH 11/11] Update examples/AccelerometerTap/AccelerometerTap.ino Co-authored-by: per1234 --- examples/AccelerometerTap/AccelerometerTap.ino | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/AccelerometerTap/AccelerometerTap.ino b/examples/AccelerometerTap/AccelerometerTap.ino index 6549cbb..84dbb57 100644 --- a/examples/AccelerometerTap/AccelerometerTap.ino +++ b/examples/AccelerometerTap/AccelerometerTap.ino @@ -3,7 +3,6 @@ this code is to detect tap using IMU.accelerationAvailable() - */ #include