WakeUp_LSM6DSO
Dependencies: X_NUCLEO_IKS01A3
Revision 5:507ef51a90be, committed 2020-08-06
- Comitter:
- peng103617
- Date:
- Thu Aug 06 06:57:04 2020 +0000
- Parent:
- 4:387ef72462e0
- Commit message:
- Wakeup_LSD6DSO
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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");
+ }
}
}
}