Open galilov opened 5 years ago
too much magic magic. if usleep really doesn't work correctly on esp8266, that needs to be fixed.
@galilov if you are still using this, test master branch now. @rojer merged a change I made to support the newer WS led reset timing that works for my WS2812E (similar to the WS2812B). Changes worked on my ESP32, I have not tested on the ESP8266
mgos_usleep works incorrect in ESP8266. I replaced mgos_usleep with mgos_bitbang_write_bits which really fixed the issues.