diff --git a/main.c b/main.c index 43fdee6..95da796 100644 --- a/main.c +++ b/main.c @@ -74,6 +74,10 @@ void main(void) case 'K': ws2812_arc_en_ciel(); break; + case 'l': + case 'L': + while(continuous_reading(0x31)); + break; case 'o': case 'O': while(calibration(VL53L1X_device)); @@ -195,6 +199,7 @@ void display_menu(){ printf("I - Init I2C address\n"); printf("J - Lecture distance multiple\n"); printf("K - Arc en ciel\n"); + printf("L - Lecture distance capteur 1\n"); printf("O - Offset Calibration\n"); printf("R - Read distance\n"); }