Program that combines a linefollower program with visible ligt communication.

Dependencies:   m3pi_custom mbed

manchester.h

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

File content as of revision 2:21fb894dc9d6:

#ifndef MANCHESTER_H
#define MANCHESTER_H
 
#define DELAY 80
class Manchester
{
public:
    Manchester(void);
    int decode(void);
    
private:
    int getDirection(int*);
    void isTimedOut(void);
    bool getStopCode(int*);
};
#endif