void setup() {
  // put your setup code here, to run once
  pinMode(15, INPUT);
  Serial1.begin(115200);
  Serial1.println("Hello, This is shahjahan vijay aka Jeeva !");
}

void loop() {
  int pir=digitalRead(15);
  if(pir==HIGH){
    Serial1.println("movement yes");
    delay(500);
  }else{
    Serial1.println("no");
    delay(500);
  }
  // put your main code here, to run repeatedly:
 // this speeds up the simulation
}
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT