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:
36:660be809a49d
Parent:
31:a0800d3da787
Child:
37:e1ad11fe3fe4
--- a/main.cpp	Wed May 22 08:31:58 2013 +0000
+++ b/main.cpp	Wed Nov 20 10:47:38 2013 +0000
@@ -35,6 +35,7 @@
 #include "mbed.h"                    
 #include "mbos.h"
 #include "Module_Communication.h"
+#include "Module_Mouvement.h"
  
 #define TASK1_ID                1       // Id for task 1 (idle task is 0)
 #define TASK1_PRIO              50      // priority for task 1
@@ -52,7 +53,8 @@
 
 DigitalOut led1(LED1);
 DigitalOut led2(LED2);
-mbos os(2, 1);                          // Instantiate mbos with 2 tasks & 1 timer    
+mbos os(2, 1);                          // Instantiate mbos with 2 tasks & 1 timer 
+ModuleMouvement test;   
 
 int main(void)
 {
@@ -65,8 +67,10 @@
    os.Start();
     // never  return!
     */
+    test.TestMotor();
     C_ModuleCommunication com = C_ModuleCommunication();
     com.receptionDeTrame();
+    
 }
 
 void task1(void)