JoDaNl / esp8266_ws2812_i2s

ESP8266 Library for driving WS2812 led-strip using the I2S output. Use within the Arduino IDE
71 stars 24 forks source link

OTA Updates #6

Open rtgree01 opened 8 years ago

rtgree01 commented 8 years ago

I've tried to use ArduinoOTA to have OTA updates, but it isn't working for me. I'm on windows using version 1.6.9 and a generic esp8266 module and 2.3.0 of the esp8266 libraries. I'm able to control the LEDs with the library without any problems. I was able to use ArduinoOTA using the BasicOTA example, but when I use your library with some existing code that worked with A-OTA, it doesn't work anymore.... any ideas? Could it be that the DMA transfer doesn't stop?

This is an awesome library! Thanks for developing it!

JoDaNl commented 8 years ago

Hi, Unfortunately I have no practical experience with OTA. Once the library is 'started', i.e. init has been called a DMA process is started....this is never-stopped...as i did not create a stop/close function. This might have an impact of course as DMA might be running whilst the DMA-descriptors in RAM are overwritten...which might result in chaos.