  * \brief fonction qui lance le robot avec les paramètres sélctionnées par la stratégie
  * \param 
  */
-void fn_start_robot(m2_el_fnarg_p fnarg) {
+void fn_start_robot(m2_el_fnarg_p fnarg) 
+{
   Serial.print("Start robot avec la strategie ");
   Serial.println(rb_select_strat + 1);
-}
+  /*
+  switch ( rb_select_strat ) 
+  {
+     case 0:  
+        Serial.println("switch case 0");
+        break; 
+     case 1:  
+        Serial.println("switch case 1");
+        break;
+     case 2:  
+        Serial.println("switch case 2");
+        break;
+     case 3:  
+        Serial.println("switch case 3");
+        break;
+     default:   
+        Serial.println("switch case non prevu");
+  } 
+  */
+  // conversion sur 2 octets de la valeur à envoyer
+  byte bytesTab[2];
+  intTo2Bytes(bytesTab, rb_select_strat);
+  // envoi
+  i2csend3bytes(rb_select_strat, bytesTab[0], bytesTab[1], _SENDADRESS_03_);    // Envoi de rb_select_strat (0 dans le tableau de correspondance)
+  
+}
+
 
 M2_LABEL(el_rb_label1, NULL, "strategie 1");
 M2_RADIO(el_rb_radio1, "v0", &rb_select_strat);

M2_ALIGN(el_top_fs, "-1|1W64H64", &el_fs_hlist);


// Left entry: Menu name. Submenus must have a '.' at the beginning
// Right entry: Reference to the target dialog box (In this example all menus call the toplevel element again
m2_menu_entry m2_2lmenu_data[] = 
{
  { "Epreuve", NULL },
  { ". Strategie", &el_rb_grid },
  { ". Initialisation", &el_top_combo },
  { "Tests", NULL },
  { ". Test I2C", &el_top_num_menu },
  { ". Test Pince", &el_top_num_menu_2},
  { ". Test Moteur", &top_el_muse},
  //{ ". File Select", &el_top_fs },
  { "Debug ", NULL },
  { ". Debug Moteur", &el_top_num_menu_debug_01},
  { ". Debug Autre", &el_top_num_menu_debug_02},
  { "Top", &top_el_expandable_menu },
  { NULL, NULL },
};


  */
}


/*
M2_LABEL(el_num_label1, NULL, "Variable");
M2_U8NUM(el_num_1, NULL, 0, 255, &u8num);
