int LEDjuswa =10;
int buzzer =8;
int PIRsensur =11;
boolean start = false;

void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(LEDjuswa,OUTPUT);
pinMode(buzzer, OUTPUT);
pinMode(PIRsensur, INPUT);
}
void loop() {
  // put your main code here, to run repeatedly:
if (digitalRead (PIRsensur) ==HIGH){
  digitalWrite (LEDjuswa,HIGH);
  tone (buzzer,500);
  Serial.println("MOTION DETECTED");
}
else{
  digitalWrite (LEDjuswa,LOW);
  noTone (buzzer);
  Serial.println("MOTION NOT DETECTED");
}
}
$abcdeabcde151015202530fghijfghij