From 2fbdcf0177c391b35c9b2426bdeef225c1c74cae Mon Sep 17 00:00:00 2001 From: dalmais Date: Sun, 17 Apr 2005 03:07:16 +0000 Subject: On fait marcher les 3 capteurs sharps et non plus le premier: On met dans le tableau la variable compteur et non pas 0 --- n/es/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'n') diff --git a/n/es/src/main.c b/n/es/src/main.c index 76e3b67..c2ed84c 100644 --- a/n/es/src/main.c +++ b/n/es/src/main.c @@ -73,7 +73,7 @@ int main (void) { adc_start (compteur); // pin selectionnee while(!adc_checkf()){} - tableau_sharp[0]=adc_read(); + tableau_sharp[compteur]=adc_read(); } twi_update (tableau_sharp,6); -- cgit v1.2.3