i am new using Arduino
i can not verify my program
error is: expected initializer before 'sensorPin'
I have copied the program from ARDUINO PROJECT BOOK
This is the program
//color mixing lamp
const int greenLEDPin = 9;
const int redLEDPin = 11;
const int blueLEDPin = 10;
const int redSensorPin =A0;
const int greenSensorPin =A1;
const int blue SensorPin =A2;
int redValue = 0;
int greenValue = 0;
int blueValue = 0;
void setup() {
// put your setup code here, to run once:
Serial.begin (9600);
pinMode(greenLEDPin, OUTPUT);
pinMode(redLEDPin, OUTPUT);
pinMode(blueLEDPin, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
redSensorValue = analogRead(redSensorPin);
delay (5);
greenSensorValue = analogRead(greenSensorPin);
delay (5);
blueSensorValue = analogRead(blueSensorPin);
Serial.print("Raw Sensor Values \t Red; ");
Serial,print(redSensorValue);
Serial.print("\t Green: ");
Serial,print(greenSensorValue);
Serial.print("\t Blue: ");
Serial.print(blueSensorValue);
}
can someone help me , please