LED temp bar disp with delayed serial monitor/graph output

Hi all

New to Arduino ..etc

I have a simple LED bar graph that shows temp increase displayed by LED's

I am also using the serial monitor/plotter function via the IDE program.

What I want to do is slow the serial print to every "60secs" , but keep the constant LED output so it does not flash the LEDS

The reason is that I am wanting a long term graph without the micro changes in temp showing

float temp;
int tempPin = 0;
int pin2 = 2;
int pin3 = 3;
int pin4 = 4;
int pin5 = 5;
int pin7 = 7;
int pin8 = 8;
int pin9 = 9;
int pin10 = 10;
void setup()
{
  pinMode(pin2, OUTPUT);
  pinMode(pin3, OUTPUT);
  pinMode(pin4, OUTPUT);
  pinMode(pin5, OUTPUT);
  pinMode(pin7, OUTPUT);
  pinMode(pin8, OUTPUT);
  pinMode(pin9, OUTPUT);
  pinMode(pin10, OUTPUT);
  Serial.begin(9600);
}

void loop()
{
  temp = analogRead(tempPin);
  temp = (5.0 * temp * 100.0)/1024.0;
  Serial.print("temperature: ");
  Serial.print(temp);
  Serial.println(" C");
  if(temp>=22.00){digitalWrite(pin10,HIGH);}
  if(temp>=24.00){digitalWrite(pin9,HIGH);}
  if(temp>=28.00){digitalWrite(pin8,HIGH);}
  if(temp>=30.00){digitalWrite(pin7,HIGH);}
  if(temp>=32.00){digitalWrite(pin5,HIGH);}
  if(temp>=34.00){digitalWrite(pin4,HIGH);}
  if(temp>=36.00){digitalWrite(pin3,HIGH);}
  if(temp>=38.00){digitalWrite(pin2,HIGH);}
  digitalWrite(pin10,LOW);
  digitalWrite(pin9,LOW);
  digitalWrite(pin8,LOW);
  digitalWrite(pin7,LOW);
  digitalWrite(pin5,LOW);
  digitalWrite(pin4,LOW);
  digitalWrite(pin3,LOW);
  digitalWrite(pin2,LOW);
  delay(1);

You should use millis(). When you print to the serial monitor, capture the current value of millis() into an unsigned long variable. Don't print to serial monitor unless the current and previously captured value of millis() differ by 60,000.

PS. Why do you turn the LEDs on and then immediately off again? That will cause them to appear quite dim.
Only turn the LEDs off if the temp is below the threshold for that led:

  if(temp>=22.00){digitalWrite(pin10,HIGH);} else {digitalWrite(pin10,LOW);}