From be4be1b5546c52b585e375fd64d07c001e098159 Mon Sep 17 00:00:00 2001 From: Anthony Shaver Date: Mon, 30 Nov 2020 15:45:13 -0800 Subject: [PATCH] Update to correct pin If using I2C port, the PIR sensor is actually connected to D2 (not D3). --- examples/04.Shields/PIR_Shield/pir_simple/pir_simple.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/04.Shields/PIR_Shield/pir_simple/pir_simple.ino b/examples/04.Shields/PIR_Shield/pir_simple/pir_simple.ino index 0af6ed8..247f412 100644 --- a/examples/04.Shields/PIR_Shield/pir_simple/pir_simple.ino +++ b/examples/04.Shields/PIR_Shield/pir_simple/pir_simple.ino @@ -5,7 +5,7 @@ * 1 Button Shield pushbutton connects pin D3 to GND */ -const int PIR = D3; +const int PIR = D2; int PIRState = 0;