simple motion sensor

const int sensorPin1 = A0;   
const int sensorPin2 = A1; 
const int sensorPin3 = A2; 

const int ledPin1 = 11;       //changed 
const int ledPin2 = 2;
const int ledPin3 = 3;
const int ledPinMain = 4;

int sensorValue = 0;         // the sensor value
int sensorMin = 1023;        // minimum sensor value    //what does it mean 1023?
int sensorMax = 0;

is it right so far? :cold_sweat: