Dependencies:   Motordriver mbed-rtos mbed

Fork of MultiModalRobotSM by Hemanth Koralla

Files at this revision

API Documentation at this revision

Comitter:
baijun
Date:
Tue Dec 12 03:11:49 2017 +0000
Parent:
20:e1a78ee68726
Commit message:
Working code;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Dec 12 03:11:05 2017 +0000
+++ b/main.cpp	Tue Dec 12 03:11:49 2017 +0000
@@ -152,9 +152,6 @@
                             }
                             visible = (ypos>=0);
                             if (visible) { // CAMERA CAN SEE A CIRCLE
-                                //leds[0] = 0;
-//                                leds[1] = 0;
-//                                leds[2] = 0;
                                 if (light) { //Cop lights
                                   myRGBled.write(1.0,0.0,0.0);
                                   light = false;