Can somebody help me write a simple arduino program involving a motion sensor?
My goal is to have a PIR detect the presence of a person, the turret to speak a single phrase, and the led to fade in and out. It will then wait 5 seconds, and if motion is detected, repeat the previous cycle. If no motion is detected, the led will fade out and stay off.
If somebody could just get me started in the right direction, I would be very grateful!