ajout module_mouvement

Dependencies:   mbed xbee_lib ADXL345_I2C IMUfilter ITG3200 Motor RangeFinder Servo mbos PID

Fork of Labo_TRSE_Drone by HERBERT Nicolas

Revision:
31:a0800d3da787
Parent:
10:c8d73680b9fd
Child:
36:660be809a49d
--- a/main.cpp	Wed Apr 03 13:48:30 2013 +0000
+++ b/main.cpp	Wed Apr 17 10:16:19 2013 +0000
@@ -34,6 +34,7 @@
 }*/
 #include "mbed.h"                    
 #include "mbos.h"
+#include "Module_Communication.h"
  
 #define TASK1_ID                1       // Id for task 1 (idle task is 0)
 #define TASK1_PRIO              50      // priority for task 1
@@ -55,6 +56,7 @@
 
 int main(void)
 {
+/*
    // Configure tasks and timers
    os.CreateTask(TASK1_ID, TASK1_PRIO, TASK1_STACK_SZ, task1);
    os.CreateTask(TASK2_ID, TASK2_PRIO, TASK2_STACK_SZ, task2);
@@ -62,6 +64,9 @@
     // Start mbos
    os.Start();
     // never  return!
+    */
+    C_ModuleCommunication com = C_ModuleCommunication();
+    com.receptionDeTrame();
 }
 
 void task1(void)