Code: Select all
on CO2#PPM do
if [CO2#PPM]>900
NeoPixelAll,255,0,0 // LED red
else
NeoPixelAll,0,255,0 // LED green
endif
endon
Now I want to connect 3 ledstrips and set them separtely depending the sensorvalue. How does this work in esp easy? No I use in my rule the name 'NeoPixelAll' to set one ledstrip. If I try to change this to the devicename of GPIO15 (wled) nothing happens. How do I adress the different ledstrips in my rule?
I also want to use three colors, not only red and green. How do I set this in my rule?