WakeUp_LSM6DSO

Dependencies:   X_NUCLEO_IKS01A3

Revision:
5:507ef51a90be
Parent:
4:387ef72462e0
--- a/main.cpp	Wed Jul 24 15:07:19 2019 +0000
+++ b/main.cpp	Thu Aug 06 06:57:04 2020 +0000
@@ -69,6 +69,9 @@
     /* Enable Wake-Up Detection. */
     acc_gyro->enable_wake_up_detection();
 
+
+ 
+
     printf("\r\n--- Starting new run ---\r\n");
 
     while (1) {
@@ -94,7 +97,10 @@
                 myled = 0;
 
                 /* Output data. */
+                while(1)
+                {
                 printf("Wake Up Detected!\r\n");
+               }
             }
         }
     }