hello I would like to include your code in my project.
so I included the files: ws2812Driver.cpp. h and wsFX.cpp .h
then in my ino file I add:
include "ws2812Driver.h"
include "wsFX.h"
define WS2812_ALLOW_INT_SINGLE false
define WS2812_ALLOW_INT_DOUBLE false
int showType = 0;
bool pixDone = true;
ws2812Driver pixDriver;
pixPatterns pixFXA (0, & pixDriver);
then in void setup ():
pixDriver.setStrip (0,14,12,1);
pixDriver.allowInterruptSingle = WS2812_ALLOW_INT_SINGLE;
pixDriver.allowInterruptDouble = WS2812_ALLOW_INT_DOUBLE;
pixDriver.updateStrip (0,12,1);
pixDriver.show ();
but does not it? as you can see setStrip (...
0 i think it's the port of ws2512Driver
14 (gpio 14 or d5) esp8266 ws data
12 the number of led
and 1 mode 12 channels
there is no doubt about the wifi the artnet etc ..
all this works very well on another pin I graduated a led drivers pwm 14bits (it works).
I did not see an init function, what did I forget about?
hello I would like to include your code in my project. so I included the files: ws2812Driver.cpp. h and wsFX.cpp .h then in my ino file I add:
include "ws2812Driver.h"
include "wsFX.h"
define WS2812_ALLOW_INT_SINGLE false
define WS2812_ALLOW_INT_DOUBLE false
int showType = 0; bool pixDone = true; ws2812Driver pixDriver; pixPatterns pixFXA (0, & pixDriver); then in void setup (): pixDriver.setStrip (0,14,12,1); pixDriver.allowInterruptSingle = WS2812_ALLOW_INT_SINGLE; pixDriver.allowInterruptDouble = WS2812_ALLOW_INT_DOUBLE; pixDriver.updateStrip (0,12,1); pixDriver.show (); but does not it? as you can see setStrip (... 0 i think it's the port of ws2512Driver 14 (gpio 14 or d5) esp8266 ws data 12 the number of led and 1 mode 12 channels
there is no doubt about the wifi the artnet etc .. all this works very well on another pin I graduated a led drivers pwm 14bits (it works).
I did not see an init function, what did I forget about?