Racing Robots Session

Dependencies:   m3pi mbed

Fork of racing_robots by Nico De Witte

Revision:
8:597ce8a7d34b
Parent:
4:3743cbfe031b
--- a/racing_robots.cpp	Wed Feb 25 15:56:14 2015 +0000
+++ b/racing_robots.cpp	Mon Jun 01 14:47:32 2015 +0000
@@ -10,8 +10,12 @@
  */
 void _init(void) {
     // DO our init here
-
     init(); // Students init
+#ifdef XBBE
+    if(!xbee.hasCode()){
+        error("no unique code is set when using Xbee for start/stop");
+    }
+#endif
 }
 
 /*