summaryrefslogtreecommitdiff
path: root/n
diff options
context:
space:
mode:
Diffstat (limited to 'n')
-rw-r--r--n/es/src/main.c2
1 files changed, 1 insertions, 1 deletions
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);