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 #ifndef MANCHESTER_H
bertgereels 0:1f5782fc5ca3 2 #define MANCHESTER_H
bertgereels 0:1f5782fc5ca3 3
bertgereels 0:1f5782fc5ca3 4 #define DELAY 80
bertgereels 1:243ec35fafcd 5 class Manchester
bertgereels 0:1f5782fc5ca3 6 {
bertgereels 0:1f5782fc5ca3 7 public:
bertgereels 1:243ec35fafcd 8 Manchester(void);
bertgereels 1:243ec35fafcd 9 int decode(void);
bertgereels 1:243ec35fafcd 10
bertgereels 1:243ec35fafcd 11 private:
bertgereels 0:1f5782fc5ca3 12 int getDirection(int*);
bertgereels 1:243ec35fafcd 13 void isTimedOut(void);
bertgereels 1:243ec35fafcd 14 bool getStopCode(int*);
bertgereels 0:1f5782fc5ca3 15 };
bertgereels 1:243ec35fafcd 16 #endif
bertgereels 1:243ec35fafcd 17