APP 4
Dependencies: mbed CRC16 mbed-rtos
Manchester.h
- Committer:
- vinbel93
- Date:
- 2016-02-22
- Revision:
- 13:195826b8c61b
- Parent:
- 6:3181f546e812
- Child:
- 17:8d8c33bdcaf5
File content as of revision 13:195826b8c61b:
#pragma once inline bool encode(bool bit, bool clock) { return (bit == clock); } inline bool decode(bool manchester1, bool manchester2) { return (manchester1 && !manchester2); }