Ajout affichage distance dans le test des capteurs
This commit is contained in:
		
							parent
							
								
									b06f1c631a
								
							
						
					
					
						commit
						69524fe01e
					
				
							
								
								
									
										3
									
								
								Test.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								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); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user