![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Example of using the mDot UDK with the X-NUCLEO-IKS01A2 board
Dependencies: MTS_X_NUCLEO_IKS01A2 libmDot-mbed5
Fork of mDot-IKS01A1 by
Diff: dot_util.cpp
- Revision:
- 10:1e3e3ab9c29c
- Parent:
- 9:e642e8f9ea37
- Child:
- 12:63e90d375afd
diff -r e642e8f9ea37 -r 1e3e3ab9c29c dot_util.cpp --- a/dot_util.cpp Tue Jan 17 22:53:01 2017 +0000 +++ b/dot_util.cpp Tue Feb 14 20:33:40 2017 +0000 @@ -298,7 +298,7 @@ // wait at least 10s between transmissions uint32_t delay_s = dot->getNextTxMs() / 1000; if (delay_s < 10) { - delay_s = 10; + delay_s = 60; } logInfo("%ssleeping %lus", deepsleep ? "deep" : "", delay_s);