led example with 2 timers

Dependencies:   mbed mbed-rtos

Revision:
2:124a066878cc
Parent:
1:6e31c704f4d6
Child:
3:204e23521e39
diff -r 6e31c704f4d6 -r 124a066878cc main.h
--- a/main.h	Mon Feb 10 16:33:35 2014 +0000
+++ b/main.h	Tue Feb 11 04:23:35 2014 +0000
@@ -3,6 +3,22 @@
 
 #include "mbed.h"
 #include "rtos.h"
+#include "lib_crc.h"
+#include <string>
+#include <bitset>
+
+#define OCTET 8 
+#define MAX_POOL_SIZE 696
+#define PREAMBLE 0x55
+#define START 0x3C
+#define TYPE 0x00
+#define STOP 0x3E
+
+typedef struct {
+  string trame;
+  char size;
+} message_t;
+
 
 void Writer_thread(void const *args);
 void Reader_thread(void const *args);