diff --git a/simulator/rdtemp/rdtemp.ino b/simulator/rdtemp/rdtemp.ino index cf22f55..101cf7b 100644 --- a/simulator/rdtemp/rdtemp.ino +++ b/simulator/rdtemp/rdtemp.ino @@ -4,7 +4,7 @@ /* -------------------------------------------------- */ #define NBVAL 4 -#define DELAI 5000 +#define DELAI 10000 /* -------------------------------------------------- */ void setup() { @@ -26,15 +26,25 @@ void setup() { /* -------------------------------------------------- */ /* ================================================== */ short adc_pins[] = { A0, A1, A2, A4 }; +#define NB_PASSE 4 /* -------------------------------------------------- */ void updatevalues(short *ptr) { - int foo; + short foo, pass; + + for (foo=0; foo