[Lab] Arduino LED Strip, PIR, and Relay
bsharding at rogers.com
Fri Mar 2 13:25:00 EST 2018
Yes I know that it is just for testing. the 10 minutes is what I want for
the final build.
The serial monitor says that the program is abiding by the 10,000 the relay
still shuts off after 2 secs.
On 2 March 2018 at 13:15, micro <micro222 at gmail.com> wrote:
> Because of this line in the code I would expect 10 seconds before it turns
> I don't know why you're seeing 2 seconds. Replacing that line with
> this should give you 10 minutes.
> delay(1000 * 60 * 10);
> On Fri, Mar 2, 2018 at 12:50 PM, Bruce Harding <bsharding at rogers.com>
> > I'm trying to get the code for this project to work. I want the LEDs to
> > stay on
> > for 10 minute or continue on if more motion is detected. right now the
> > strip
> > turns off 2 seconds after no motion.
> > the code:
> > https://gist.github.com/anonymous/8f0be0ffb6366ebe814c6d9b0ef7cd49
> > pics of the project:
> > https://photos.app.goo.gl/QrgMDG1KMnpNUjdy2
> > I'm using the Grove Shield and Relay
> > http://wiki.seeed.cc/Grove-Relay/
> > PS. I've not coding experience
> > ====
> > bruce
> > faintfuzzies.ca
> > _______________________________________________
> > Lab mailing list
> > 1. subscribe https://artengine.ca/mailman/listinfo/lab
> > 2. then email Lab at artengine.ca to send your message to the list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lab