Program that combines a linefollower program with visible ligt communication.

Dependencies:   m3pi_custom mbed

Committer:
bertgereels
Date:
Wed May 16 19:18:11 2018 +0000
Revision:
2:21fb894dc9d6
Parent:
1:243ec35fafcd
Part two of the 'projectlab' course.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bertgereels 0:1f5782fc5ca3 1 #include "mbed.h"
bertgereels 0:1f5782fc5ca3 2 #include "linefollower.h"
bertgereels 0:1f5782fc5ca3 3
bertgereels 0:1f5782fc5ca3 4 DigitalOut myled(LED1);
bertgereels 0:1f5782fc5ca3 5
bertgereels 0:1f5782fc5ca3 6 using namespace ProjectTwo;
bertgereels 0:1f5782fc5ca3 7
bertgereels 0:1f5782fc5ca3 8 int main() {
bertgereels 1:243ec35fafcd 9 LineFollower lijnvolger;
bertgereels 0:1f5782fc5ca3 10 while(1) {
bertgereels 0:1f5782fc5ca3 11 lijnvolger.followTheLine();
bertgereels 0:1f5782fc5ca3 12 }
bertgereels 0:1f5782fc5ca3 13 }