Racing Robots Session

Dependencies:   m3pi mbed

Fork of racing_robots by Nico De Witte

Revision:
0:c0ae66a0ec7a
Child:
1:43c91152e9ce
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/racing_robots.cpp	Mon Feb 23 12:24:31 2015 +0000
@@ -0,0 +1,27 @@
+#include "racing_robots.h"
+
+DigitalOut myled(LED1);
+
+extern void loop(void);
+extern void init(void);
+
+
+void _init(void) {
+    // DO our init here
+
+    init(); // Students init
+}
+
+void racing_robots(void) {
+    // Initialize system
+    _init();
+
+    while (true) {
+        loop();     // Students loop
+    }
+}
+
+
+int main (void) {
+    racing_robots();
+}
\ No newline at end of file