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: libmDot-mbed5 DOGS102 ISL29011 MMA845x MPL3115A2 NCP5623B X_NUCLEO_IKS01A1 Senet_Packet
Fork of MTDOT-UDKDemo_Senet by
Diff: main.cpp
- Revision:
- 22:d3a56f5a949c
- Parent:
- 19:62f4a6bae943
- Child:
- 23:dd1685057812
diff -r 62f4a6bae943 -r d3a56f5a949c main.cpp
--- a/main.cpp Wed Aug 24 22:04:46 2016 -0400
+++ b/main.cpp Wed Aug 24 22:44:50 2016 -0400
@@ -463,6 +463,9 @@
evbBackLight->setLEDCurrent(0);
// Turn LED off to indicate server not in agreement
SYNC_LED=SYNC_LED_OOS;
+ // Set reflected_value to an out of range value to stay
+ // in fast transmit mode until server responds
+ reflected_value = 0;
}
/*
@@ -786,6 +789,10 @@
{
position_value = next_value;
position_changed = true;
+
+ // Set reflected_value to an out of range value to stay
+ // in fast transmit mode until server responds
+ reflected_value = 0;
// Turn LED off to indicate server is not in agreement
SYNC_LED=SYNC_LED_OOS;
