I am trying to incorporate a PIR sensor with the code from the strand example in the neopixel library
Should be easy but I cant figure out how to do it. I have the strand example working fine with my 4 neo leds. If I try to put the if and else statements in I am getting error messages. I would greatly appreciate any help on this.
I also would like to have a couple of the leds on steady when no motion is detected.
Here is the code as an attatchment
strandalarm.ino (4.16 KB)