rajoute des commentaires
這個提交存在於:
父節點
bc0529e014
當前提交
75fb4dbb1d
共有 1 個檔案被更改,包括 1 行新增 和 2 行删除
|
@ -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);
|
||||||
|
|
||||||
|
|
載入中…
新增問題並參考