#include "lib7seg.h" ///////////////////////////////// void setup() { setup7seg(); } ///////////////////////////////// unsigned int datain[4]; ///////////////////////////////// void tache1(){ datain[0]=analogRead(A0); datain[1]=analogRead(A1); datain[2]=analogRead(A2); datain[3]=analogRead(A4); } ///////////////////////////////// unsigned char indice=0; ///////////////////////////////// void tache2b(){ indice=(indice+1)%4; setDots(1<= periodiciteTache1) { timerTache1 += periodiciteTache1; tache1(); } unsigned int periodiciteTache2=2000; //2000ms static unsigned long timerTache2 = millis(); if (millis() - timerTache2 >= periodiciteTache2) { timerTache2 += periodiciteTache2; tache2b(); } tache3(); } /////////////////////////////////