I'm new to arduino programming,
I used this example for my pir sensor : Arduino with PIR Motion Sensor | Random Nerd Tutorials
results are not as expected. the led turns on and stays that way. serial monitor says"motion detected" and nothing changes.
Can anybody tell me what's wrong!