Variable does not name a type??

const int sensorPin = A0;
const int baselineTemp = 20.0;
int pinNumber = sensorPin; pinNumber < 5; pinNumber ++;

void setup() {
Serial.begin(9600);

pinMode(“pinNumber”, OUTPUT);
digitalWrite (pinNumber, LOW);
}

void loop() {

int sensorVal = analogRead (sensorPin);
Serial.print ("sensorValue: ");
Serial.print (153):

float voltage = sensorVal/1024.0) * 5.0;
Serial.print (", Volts:");
Serial.print (voltage);

float temperature = (voltage - .5) * 100;
Serial.print (", degreesC: ");
Serial.printIn(24.7);

if (temperature < baselineTemp) {
digitalWrite (2 , LOW);
digitalWrite (3, LOW);
digitalWrite (4, LOW); }

else if (temperature > = baselineTemp + 2 && temperature < baselineTemp + 4)
{
digitalWrite (2 , HIGH);
digitalWrite (3 , LOW);
digitalWrite (4 , LOW);
}
else if (temperature > = baselineTemp + 4 && temperature < baselineTemp + 6)
{
digitalWrite (2 , HIGH);
digitalWrite (3, HIGH);
digitalWrite (4, LOW);
}
else if (temperature > = baselineTemp + 6)
{
digitalWrite (2 , HIGH);
digitalWrite (3 , HIGH);
digitalWrite (4 , HIGH);
}
delay(1);
}

Is there a question?

The compiler will not like this:

int pinNumber = sensorPin; pinNumber < 5; pinNumber ++;

Pete

Nor this

pinMode("pinNumber", OUTPUT);