Program that combines a linefollower program with visible ligt communication.
Dependencies: m3pi_custom mbed
Diff: main.cpp
- Revision:
- 0:1f5782fc5ca3
- Child:
- 1:243ec35fafcd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed May 09 15:35:31 2018 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" +#include "linefollower.h" + +DigitalOut myled(LED1); + +using namespace ProjectTwo; + +int main() { + LineFollower lijnvolger; + while(1) { + + lijnvolger.followTheLine(); + } +}