How WS2812B leds should be connected to ESP8266 ?
WS2812 plug-in claims to support WS2812B, but I cannot make it work.
When I do:
ws2812.init()
ws2812.write(string.char(255,0,0))
Then green light up.
ws2812.init()
ws2812.write(string.char(255,255,0))
Then Yellow light up.
ws2812.init()
ws2812.write(string.char(255,255,255))
Then WHITE is light up.
But there is no way of turning light off. When I do:
ws2812.init()
ws2812.write(string.char(255,255,255))
ws2812.write(string.char(0,0,0))
Then LED stays White, this (0,0,0) has no effect.
Also codes like:
ws2812.init()
ws2812.write(string.char(0,0,255))
Turn on GREEN led (works the same as (255,0,0)).
I used ESP8266 in ESP-12F form and I used something like to shift levels between 3.3V and 5V.
NodeMCU is build from master on NodeMCU Cloud Build Service.
Is there something else that must be done to control WS2812B ?