Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Witty Cloud + WS2812 - not working / configuration issue? #1462
Not sure this is a bug, or a misconfiguration on my part,
I connected the WS2812 strip to GPIO03 (according to comments in user_config.h - along with USE_WS2812_DMA).
I was able to drive the WS2812 after changing the definition in sonoff_template.h:
I do not support both PWM and WS2812 at the same time as they both use the same light handler. As the default witty module is configured with PWM it means you cannot attach a WS2812 string to it.
Looking at your suggested changes it seems to me it's become a wemos d1 mini module and makes the witty module obsolete. Fine with me as it saves another 32 precious bytes if I remove the witty module.