          lcd.setCursor(0,0);          lcd.print(F("Stato: config"));
          lcd.setCursor(0,1);        lcd.print(F("Usa btn PIATTO")); 
          lcd.setCursor(0,2); lcd.print(F("cambiare la mod."));  
-         lcd.setCursor(0,3); lcd.print(F("Premi NEXT per entrare"));       
+         lcd.setCursor(0,3); lcd.print(F("Conferma con NEXT"));       
           
          if(millis() - displayTimer2 >= intervalDisplay + 7000){
             displayTimer1=1;


double normalize(double val){
  //return asd; TODO usare getIndex per capire quale funzione di taratura usare
  if(buttonAmb.value == 20 )
      return 3.2257*val - 0.411613 ;  
      
  else
      return val ;    
}


      if(counterRCT>=NUMOFRCTMESURE){
          if(counterRCTCycle>=NUMMESUREMENT){
            if(stateMode==STATEMODE::MESURE){
             writeRCT0(totalRCT.average(counterRCTCycle));
            }
            stato=STATE::END;
            displayTimer1=0;
            displayTimer2=0;
            lcd.clear();
          }else{
            /*if(stateMode==STATEMODE::MESURE){
              
            }else{*/
             totalRCT.newVal(cycleRCT.median(counterRCT));
            
            counterRCT=0;
            counterRCTCycle++;
          }
