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: libxDot-mbed5 ISL29011
Fork of Dot-Examples by
Revision 16:a3832552dfe1, committed 2016-10-19
- Comitter:
- Mike Fiore
- Date:
- Wed Oct 19 11:53:17 2016 -0500
- Parent:
- 15:364df461110f
- Child:
- 17:d4f82e16de5f
- Commit message:
- print mbed-os library version in examples
Changed in this revision
--- a/examples/src/auto_ota_example.cpp Tue Oct 11 16:33:45 2016 -0500
+++ b/examples/src/auto_ota_example.cpp Wed Oct 19 11:53:17 2016 -0500
@@ -49,6 +49,8 @@
dot->setEvents(&events);
if (!dot->getStandbyFlag()) {
+ logInfo("mbed-os library version: %d", MBED_LIBRARY_VERSION);
+
// start from a well-known state
logInfo("defaulting Dot configuration");
dot->resetConfig();
--- a/examples/src/class_c_example.cpp Tue Oct 11 16:33:45 2016 -0500
+++ b/examples/src/class_c_example.cpp Wed Oct 19 11:53:17 2016 -0500
@@ -39,6 +39,8 @@
dot = mDot::getInstance();
+ logInfo("mbed-os library version: %d", MBED_LIBRARY_VERSION);
+
// start from a well-known state
logInfo("defaulting Dot configuration");
dot->resetConfig();
--- a/examples/src/manual_example.cpp Tue Oct 11 16:33:45 2016 -0500
+++ b/examples/src/manual_example.cpp Wed Oct 19 11:53:17 2016 -0500
@@ -46,6 +46,8 @@
dot->setEvents(&events);
if (!dot->getStandbyFlag()) {
+ logInfo("mbed-os library version: %d", MBED_LIBRARY_VERSION);
+
// start from a well-known state
logInfo("defaulting Dot configuration");
dot->resetConfig();
--- a/examples/src/ota_example.cpp Tue Oct 11 16:33:45 2016 -0500
+++ b/examples/src/ota_example.cpp Wed Oct 19 11:53:17 2016 -0500
@@ -49,6 +49,8 @@
dot->setEvents(&events);
if (!dot->getStandbyFlag()) {
+ logInfo("mbed-os library version: %d", MBED_LIBRARY_VERSION);
+
// start from a well-known state
logInfo("defaulting Dot configuration");
dot->resetConfig();
--- a/examples/src/peer_to_peer_example.cpp Tue Oct 11 16:33:45 2016 -0500
+++ b/examples/src/peer_to_peer_example.cpp Wed Oct 19 11:53:17 2016 -0500
@@ -36,6 +36,8 @@
dot = mDot::getInstance();
+ logInfo("mbed-os library version: %d", MBED_LIBRARY_VERSION);
+
// start from a well-known state
logInfo("defaulting Dot configuration");
dot->resetConfig();
