From be3d848c7dec2b42e5fe875a87be361c3ad36816 Mon Sep 17 00:00:00 2001 From: burg Date: Mon, 2 May 2005 00:34:10 +0000 Subject: adc marche ascenseur marche ventouse marche tourelle ??? --- n/es/src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'n/es/src/main.c') diff --git a/n/es/src/main.c b/n/es/src/main.c index f17aa55..7851807 100644 --- a/n/es/src/main.c +++ b/n/es/src/main.c @@ -203,6 +203,7 @@ int main (void) { adc_start (compteur); // pin selectionnee while(!adc_checkf()){} + delay_us(250L); stockage_valeur_pont[0][compteur]=adc_read(); } @@ -240,11 +241,13 @@ int main (void) adc_start (pin_socle1); // pin socle1 sélectionnée while(!adc_checkf()){} + delay_us(250L); valeur_socle1 = adc_read(); adc_start (pin_socle2); // pin socle2 sélectionnée while(!adc_checkf()){} + delay_us(250L); valeur_socle2 = adc_read(); nb_valeur_socle++; @@ -286,7 +289,7 @@ int main (void) for(cpt=0;cpt