Program that combines a linefollower program with visible ligt communication.
Dependencies: m3pi_custom mbed
Revision 2:21fb894dc9d6, committed 2018-05-16
- Comitter:
- bertgereels
- Date:
- Wed May 16 19:18:11 2018 +0000
- Parent:
- 1:243ec35fafcd
- Commit message:
- Part two of the 'projectlab' course.
Changed in this revision
linefollower.cpp | Show annotated file Show diff for this revision Revisions of this file |
m3pi.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r 243ec35fafcd -r 21fb894dc9d6 linefollower.cpp --- 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);
diff -r 243ec35fafcd -r 21fb894dc9d6 m3pi.lib --- a/m3pi.lib Wed May 16 19:12:20 2018 +0000 +++ b/m3pi.lib Wed May 16 19:18:11 2018 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/chris/code/m3pi/#d2449eb32198 +https://os.mbed.com/users/bertgereels/code/m3pi_custom/#d2449eb32198