xoseperez / sonoffsc

Itead Studio SonoffSC custom firmware with MQTT and Domoticz support
GNU General Public License v3.0
104 stars 35 forks source link

How can i use WS2812?? #22

Open nelzon101 opened 6 years ago

nelzon101 commented 6 years ago

Hi i connected a WS2812ring on the "LED+5V" (D7) Pins + Ground from Board. How can i use it via Mqtt? When i change the "effect" value from 0 to 1, nothing lights on. I use IOBroker

Looooopy commented 6 years ago

try to send color/speed/brightness and effect that should work.

One more thing the pin for RGB is 12 on the atMega, PIN 7 is for the fan if you have not changed anything in the code.

define RGB_PIN 12

image