Project 4 - Colour Mixing Lamp ... can someone me out please?

Hello everyone!

I'm new to Arduino and am playing around with the starter kit today! Having lots of fun! I am up to project 4 and I keep getting the following error:

Colour_Mixing_Lamp.ino:25:30: error: 'blueSensorPin' was not declared in this scope
Error compiling.

My code is below ... I keep going over it to see what is wrong and can't find the error. Can someone help?

Many thanks!

const int greenLEDPin = 9;
const int redLEDPin = 11;
const int blueLEDPin = 10;
const int redsensorPin = A0;
const int greensensorPin = A1;
const int bluSensorPin = A2;
int redValue = 0;
int greenValue = 0;
int blueValue = 0;
int redSensorValue = 0;
int greenSensorValue = 0;
int blueSensorValue = 0;
void setup() {
pinMode(greenLEDPin, OUTPUT);
pinMode(redLEDPin, OUTPUT);
pinMode(blueLEDPin, OUTPUT);

void loop() {
redSensorValue = analogRead(redSensorPin);
greenSensorValue = analogRead(greenSensorPin);
blueSensorValue = analogRead(blueSensorPin);
Serial.print ("Raw Sensor Values \t Red: ");
Serial.print (redSensorValue);
Serial.print ("\t Green: ");
Serial.print (greenSensorValue);
Serial.print ("\t Blue: ");
redValue = redSensorValue/4;
greenValue = greenSensorValue/4;
blueValue = blueSensorValue/4;
Serial.print("Mapped Sensor Values \t Red: ");
Serial.print(" \t Green: ");
Serial.print(" \t Blue: ");
analogWrite(redLEDPin, redValue);
analogWrite(greenLEDPin, greenValue);
analogWrite(blueLEDPin, blueValue);

const int bluSensorPin = A2;

You can’t spell! :wink: