#define PIR 26
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(PIR, INPUT);
}
int pir = 0;
void loop() {
// put your main code here, to run repeatedly:
pir = digitalRead(PIR);
Serial.println(pir);
delay(100); // this speeds up the simulation
}