diff --git a/Test.c b/Test.c index 48274e9..6b0864f 100644 --- a/Test.c +++ b/Test.c @@ -1410,8 +1410,10 @@ int test_geometrie(){ } void affiche_monitoring(){ + float distance; while(1){ temps_cycle_display(); + printf(">distance:%f\n",Trajet_get_obstacle_mm()); sleep_ms(100); } } @@ -1435,6 +1437,7 @@ int test_angle_balise(void){ Balise_VL53L1X_gestion(); distance = Balise_VL53L1X_get_distance_obstacle_mm(angle); + Trajet_set_obstacle_mm(distance); lettre = getchar_timeout_us(0); }while(1);