7Robot_Freescale / Mbed 2 deprecated freescal_cup_k22f

Dependencies:   mbed freescal_cup_k22f

Dependents:   freescal_cup_k22f

Revision:
28:c9d882501013
Parent:
27:d1da489fc79a
Child:
29:e7f37f801c93
--- a/source/main.cpp	Wed Jan 21 17:34:38 2015 +0000
+++ b/source/main.cpp	Wed Jan 21 18:19:56 2015 +0000
@@ -35,8 +35,12 @@
         
         if (flag_new_image==1)
         {
+           // uart.printf("0,%d,%d\n\r",max_detect1,max_detect2);
             if (compteur_uart ==20) // on envoit une trame toute les 50 acquisitions de cameras
             {  
+                uart.printf("S3");//debug START
+                uart.printf("%d,%d,%d,%lf,",max_detect1,max_detect2,0,ordre_servo);
+                uart.printf("E");//debug END
                 uart.printf("S1");//debug START
                 for (int indice_pixel=0; indice_pixel<128; indice_pixel++)   
                 {
@@ -57,7 +61,7 @@
                 compteur_uart =compteur_uart+1;  
             }
         }
-        // uart.printf("0,%d,%d\n\r",max_detect1,max_detect2);
+       
         flag_new_image=0;
 
     }