/* * simulateur de telemesure automate */ /* -------------------------------------------------- */ #define NBVAL 4 int values[NBVAL]; /* -------------------------------------------------- */ void setup() { int foo; Serial.begin(9600); pinMode(LED_BUILTIN, OUTPUT); for (foo=0; foo 1023) { values[foo] = rand()%15; } } } /* -------------------------------------------------- */ void sendvalues(void) { int foo; Serial.print("X"); for (foo=0; foo