Program that combines a linefollower program with visible ligt communication.

Dependencies:   m3pi_custom mbed

main.cpp

Committer:
bertgereels
Date:
2018-05-16
Revision:
2:21fb894dc9d6
Parent:
1:243ec35fafcd

File content as of revision 2:21fb894dc9d6:

#include "mbed.h"
#include "linefollower.h"

DigitalOut myled(LED1);

using namespace ProjectTwo;

int main() {
    LineFollower lijnvolger;
    while(1) {
        lijnvolger.followTheLine();
    }
}