Projet Drone de surveillance du labo TRSE (INGESUP)

Dependencies:   mbed PID ADXL345 Camera_LS_Y201 ITG3200 RangeFinder mbos xbee_lib Motor Servo

Revision:
29:a0800d3da787
Parent:
10:c8d73680b9fd
Child:
33:f85d47baaeb4
--- 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)