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: HP206C mbed WakeUp QMC5883L DHT22 DS1820
Revision 13:8cbc053fdca1, committed 2019-01-08
- Comitter:
- raminou
- Date:
- Tue Jan 08 15:23:11 2019 +0000
- Parent:
- 12:41fa5a145a22
- Commit message:
- empty callback
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Jan 08 15:06:23 2019 +0000
+++ b/main.cpp Tue Jan 08 15:23:11 2019 +0000
@@ -71,6 +71,11 @@
float ground_humidity = 0.5;
int16_t magnetic_field[3] = {}; // x, y, z
+/*
+ * Empty callback of the deepsleep because in this version of mbed, the wakeup
+ * does not work without it.
+ * But the code inside it is not executed !
+ */
void mycallback()
{
}
