void setup() {
  // put your setup code here, to run once:
pinMode(8, INPUT);
pinMode(13, OUTPUT);}

void loop() {
  // put your main code here, to run repeatedly:
int pir = digitalRead(8);

if(pir == 1){
  digitalWrite(13,1);
}else{digitalWrite(13,0);}




}