Hi!
I am just toying with the Arduino and a PIR sensor. I made the circuit and got everything up and running, however, there are certain inefficiencies I want to reduce. One is that I want to change the time that the LEDs stay on and that at times there is a delay in registering a motion, for example if the LEDs were already on, after turning off, the system(I don't know which part to blame, code or sensor) takes couple of seconds before it actually registers the next motion to the turn the LEDs on again. is there anyway to solve these problems. I tried using the delay function but it did not help.
P.S: I am a complete newbie to the Arduino and C++ ( can understand the code to some extent due to knowledge in VB) so you will have to dumb it down for me, since google has failed me in finding a solution.
(I have attached the current code)
thanks