love o meter

I really don’t get what the problem is… could some one explain it ?

thanks

const int sensorPin = A0;

const float baselineTemp = 22.0;

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

for(int pinNumber = 2; pinNumber < 5; PinNumber++){
pinMode(pinNumber, OUTPUT);
digitalWrite(pinNumber, LOW);
}
}

void loop() {

int sensorVal= analogRead(sensorPin);

Serial.print("Sensor Value: ");
Serial.print(sensorVal);

float voltage =(sensorVal / 1024.0) * 5.0;

Serial.print(", Volts:");
Serial.print(voltage);

Serial.print(", degrees C: ");
float temperature = (voltage - .5) * 100;
Serial.println(temperature);

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

} else if (temperature >= baselinetemp + 2 &&
temperature < baslinetemp + 4){
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, LOW);

} else if (temperature >= baselinetemp + 4 &&
temperature < baslinetemp + 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);
}

Arduino: 1.6.1 (Windows 7), Board:“Arduino Uno”

Build-opties gewijzigd, alles wordt opnieuw gebuild

sketch_mar15b.ino: In function ‘void setup()’:

sketch_mar15b.ino:9:39: error: ‘PinNumber’ was not declared in this scope

sketch_mar15b.ino: In function ‘void loop()’:

sketch_mar15b.ino:32:19: error: ‘baslineTemp’ was not declared in this scope

sketch_mar15b.ino:37:27: error: ‘baselinetemp’ was not declared in this scope

sketch_mar15b.ino:38:15: error: ‘baslinetemp’ was not declared in this scope

Fout bij compileren.

Dit rapport zou meer informatie hebben met
“Tijdens de compilatie uitgebreide uitvoer weergeven”
ingeschakeld in Bestand > Voorkeuren.

BodhiDavina:
sketch_mar15b.ino:9:39: error: ‘PinNumber’ was not declared in this scope

Any problem with reading error messages?
Or just a problem with understanding error messages?

for(int pinNumber = 2; pinNumber < 5; PinNumber++){

Check spelling!

If you just declare ‘int pinNumber’ (small letter ‘p’) you cannot use ‘PinNumber’ (capital letter ‘P’) in your code!

The C programming language is case sensitive!

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

} else if (temperature >= baselinetemp + 2 &&

Double check spelling

thanks for the help, problem solved. I didn't knew programming is case sensitive. Just started yesterday :P