Wait Command

Hi AWOL
Just looked up the do...while command.
Is this what you mean..... Perhaps I dont need the first read/print sequence at all......

  // Check the oil temp is 50c

do
{
  
     // read the analog input into a variable:
     int svotempvalue = analogRead(svotemp);  //Read the SVO Thermister
     svotempvalue = map(svotempvalue, 150, 390, 50, 90);

     Serial.print("Oil Temperature ");
     Serial.print(svotempvalue);
     Serial.println("c");

     delay(2000);
  }

while (svotempvalue < svotempthreshold);

//Oil is 50c. So go to next sequence

John
:-? :-?