APP 4

Dependencies:   mbed CRC16 mbed-rtos

Revision:
3:3ffa14e75b8a
Parent:
2:1250280a511b
Child:
5:9f05591944ba
--- a/Manchester.h	Sat Feb 20 19:25:57 2016 +0000
+++ b/Manchester.h	Sat Feb 20 20:44:35 2016 +0000
@@ -3,8 +3,7 @@
 
 #pragma once
 
-
 using namespace std;
 
-void encode(bitset<8> bits);
-void Tramomatique();
+bitset<2 * FRAMESIZE> encode(bitset<FRAMESIZE> bits, bitset<2 * FRAMESIZE> clock);
+bitset<FRAMESIZE>     decode(bitset<2 * FRAMESIZE> manchester, bitset<2 * FRAMESIZE> clock);