Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
diff -r 387ef72462e0 -r 507ef51a90be main.cpp
--- 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");
+ }
}
}
}