wow your library is exactly what I was looking for. This is so brilliant!
But I can't get this to work on my Mac.
On compiling many libraries from /Applications/Arduino-esp.app/Contents/Java/hardware/tools/esp8266/sdk/include were missing, so I copied them into the Directory of you library. But now I'm sucked with this error now:
In file included from /Applications/Arduino-esp.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:224:0,
from /Volumes/kaozData/Users/felix/Documents/Arduino/libraries/Esp_WS2812/Esp_WS2812.h:6,
from myws2812test.ino:1:
/Applications/Arduino-esp.app/Contents/Java/hardware/arduino/avr/cores/arduino/USBAPI.h:31:23: error: conflicting declaration 'typedef long unsigned int u32'
typedef unsigned long u32;
^
In file included from /Volumes/kaozData/Users/felix/Documents/Arduino/libraries/Esp_WS2812/Esp_WS2812.h:1:0,
from myws2812test.ino:1:
/Volumes/kaozData/Users/felix/Documents/Arduino/libraries/Esp_WS2812/c_types.h:31:29: error: 'u32' has a previous declaration as 'typedef unsigned int u32'
typedef unsigned int u32;
^
Fehler beim Kompilieren.