APP 4
Dependencies: mbed CRC16 mbed-rtos
Manchester.h
- Committer:
- vinbel93
- Date:
- 2016-02-21
- Revision:
- 6:3181f546e812
- Parent:
- 5:9f05591944ba
- Child:
- 13:195826b8c61b
File content as of revision 6:3181f546e812:
#pragma once inline bool encode(bool bit, bool clock) { return (bit == clock); } inline bool decode(bool manchester, bool clock) { return (manchester == clock); }