Support APA102 on ESP32

This commit is contained in:
cschwinne 2019-09-26 14:02:58 +02:00
parent 6c9d161950
commit cb77285277
2 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,11 @@
//automatically uses the right driver method for each platform
#ifdef ARDUINO_ARCH_ESP32
#define PIXELMETHOD NeoWs2813Method
#ifdef USE_APA102
#define PIXELMETHOD DotStarMethod
#else
#define PIXELMETHOD NeoEsp32Rmt0Ws2812xMethod
#endif
#else //esp8266
//autoselect the right method depending on strip pin
#ifdef USE_APA102

Binary file not shown.