Program that combines a linefollower program with visible ligt communication.

Dependencies:   m3pi_custom mbed

Revision:
2:21fb894dc9d6
Parent:
1:243ec35fafcd
--- a/linefollower.cpp	Wed May 16 19:12:20 2018 +0000
+++ b/linefollower.cpp	Wed May 16 19:18:11 2018 +0000
@@ -141,8 +141,7 @@
                 m3pi.printf("Activate");
                 wait(1);
                 
-                //retry decoding if detected value is equal to 5
-                do{
+                //retry decoding if detected value is equal to 5 = faulty stop
                     direction_index = vlcDecoder.decode();
                 }while(direction_index == 5);