forked from acco/chti23
Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
75fb4dbb1d |
1 changed files with 1 additions and 2 deletions
|
@ -70,6 +70,7 @@ void callback() {
|
||||||
}
|
}
|
||||||
} else {cnt[3]=0;}
|
} else {cnt[3]=0;}
|
||||||
|
|
||||||
|
// Pour ne changer de cible que toutes les 2 sec (2000/5 = 400)
|
||||||
if (clk5Hz %400 ==0) {
|
if (clk5Hz %400 ==0) {
|
||||||
i = (i+1)%15;
|
i = (i+1)%15;
|
||||||
if (i == 0){
|
if (i == 0){
|
||||||
|
@ -115,8 +116,6 @@ Init_ADC1_DMA1( 0, dma_buf );
|
||||||
Init_Affichage();
|
Init_Affichage();
|
||||||
|
|
||||||
|
|
||||||
//TODO : englober dans fct qui fait changer la cible active régulièrement (mais wait nécessaire)
|
|
||||||
|
|
||||||
Choix_Capteur(1);
|
Choix_Capteur(1);
|
||||||
Prepare_Set_LED(LED_Cible_1);
|
Prepare_Set_LED(LED_Cible_1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue