CCM Robot 2014: MCU for controlling the driving

Dependencies:   PID QEI mbed

Files at this revision

API Documentation at this revision

Comitter:
sjmcscheepens
Date:
Tue May 20 21:25:09 2014 +0000
Parent:
14:303adb7e1519
Commit message:
revision 2

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 303adb7e1519 -r b2f670dc250a main.cpp
--- a/main.cpp	Tue May 20 20:59:17 2014 +0000
+++ b/main.cpp	Tue May 20 21:25:09 2014 +0000
@@ -54,17 +54,17 @@
 
 bool ask_bottle(void)
 {
-    
+    return 1;
 }
 
 int ask_angle(void)
 {
-    
+    return 0;
 }
 
 int ask_distance(void)
 {
-    
+    return 10;
 }
 
 void sm_drive()