PIRSensor control

I use arduino due control PIRSensor,I want to perform actions after the start of the value of i is incremented to count the way,but it can't print monitor "i+1".
Plus i + + How to Program

//------------------------------------
const int PIRSensor = 2;

void setup()
{
pinMode(PIRSensor,INPUT);
digitalWrite(PIRSensor,HIGH);
pinMode(13,OUTPUT);
}
void loop(){
int i;
i = digitalRead(PIRSensor);
if(i >= 1){
digitalWrite(13,HIGH);
}
else{
digitalWrite(13, LOW);
}
Serial.print(i);
Serial.print(",");
}
//---------------------------------

What do you mean "can't"?
Try moving "I" to global scope, above "setup()"

Plus i + + How to Program

i++;

Read this before posting a programming question

Code tags.