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:
- 12:63e90d375afd
- Parent:
- 10:1e3e3ab9c29c
- Child:
- 13:e165a137c3af
--- a/dot_util.cpp Tue Feb 14 20:36:21 2017 +0000 +++ b/dot_util.cpp Fri Jan 26 17:39:50 2018 +0000 @@ -298,7 +298,7 @@ // wait at least 10s between transmissions uint32_t delay_s = dot->getNextTxMs() / 1000; if (delay_s < 10) { - delay_s = 60; + delay_s = 10; } logInfo("%ssleeping %lus", deepsleep ? "deep" : "", delay_s);