Program that combines a linefollower program with visible ligt communication.

Dependencies:   m3pi_custom mbed

manchester.h

Committer:
bertgereels
Date:
2018-05-16
Revision:
1:243ec35fafcd
Parent:
0:1f5782fc5ca3

File content as of revision 1:243ec35fafcd:

#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