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.
Diff: Node/Anchor/Anchor.cpp
- Revision:
- 0:99928431bb44
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Node/Anchor/Anchor.cpp Tue Jul 07 09:36:12 2015 +0000
@@ -0,0 +1,12 @@
+#include "Anchor.h"
+
+Anchor::Anchor( MM2WayRanging& newRanging, DW1000& newDw ) : Node( newRanging, newDw )
+{
+ debugprintf("Anchor Initialized\r\n") ;
+}
+
+void Anchor::execute()
+{
+ // Just waiting in the background as the anchor functionality is interrupt driven
+ wait(0.5) ;
+}
\ No newline at end of file