I have a Grove PIR Sensor 1.2 and I’m trying to use it with my Microbit (v1) and Grove Shield for Microbit v2
from microbit import *
while True:
display.show(str(pin0.read_digital()))
With the above code, it always displays low/0. I tried another Grove PIR sensor v1.2 and got the same result. To ensure it wasn’t the microbit or grove shield I tried a button and it worked fine.
Any thoughts where I’m going wrong?