Program that combines a linefollower program with visible ligt communication.
Dependencies: m3pi_custom mbed
Diff: manchester.h
- Revision:
- 1:243ec35fafcd
- Parent:
- 0:1f5782fc5ca3
--- a/manchester.h Wed May 09 15:35:31 2018 +0000 +++ b/manchester.h Wed May 16 19:12:20 2018 +0000 @@ -2,11 +2,16 @@ #define MANCHESTER_H #define DELAY 80 -class manchester +class Manchester { public: - manchester(void); - int decode(); + Manchester(void); + int decode(void); + +private: int getDirection(int*); + void isTimedOut(void); + bool getStopCode(int*); }; -#endif \ No newline at end of file +#endif + \ No newline at end of file