Ajout lecture capteur 1 uniquement
This commit is contained in:
parent
c23f74d5d6
commit
1c5e47655d
5
main.c
5
main.c
@ -74,6 +74,10 @@ void main(void)
|
|||||||
case 'K':
|
case 'K':
|
||||||
ws2812_arc_en_ciel();
|
ws2812_arc_en_ciel();
|
||||||
break;
|
break;
|
||||||
|
case 'l':
|
||||||
|
case 'L':
|
||||||
|
while(continuous_reading(0x31));
|
||||||
|
break;
|
||||||
case 'o':
|
case 'o':
|
||||||
case 'O':
|
case 'O':
|
||||||
while(calibration(VL53L1X_device));
|
while(calibration(VL53L1X_device));
|
||||||
@ -195,6 +199,7 @@ void display_menu(){
|
|||||||
printf("I - Init I2C address\n");
|
printf("I - Init I2C address\n");
|
||||||
printf("J - Lecture distance multiple\n");
|
printf("J - Lecture distance multiple\n");
|
||||||
printf("K - Arc en ciel\n");
|
printf("K - Arc en ciel\n");
|
||||||
|
printf("L - Lecture distance capteur 1\n");
|
||||||
printf("O - Offset Calibration\n");
|
printf("O - Offset Calibration\n");
|
||||||
printf("R - Read distance\n");
|
printf("R - Read distance\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user