{"action":"created","issue":{"url":"https://api.github.com/repos/FastLED/FastLED/issues/306","repository_url":"https://api.github.com/repos/FastLED/FastLED","labels_url":"https://api.github.com/repos/FastLED/FastLED/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/FastLED/FastLED/issues/306/comments","events_url":"https://api.github.com/repos/FastLED/FastLED/issues/306/events","html_url":"https://github.com/FastLED/FastLED/issues/306","id":155272430,"number":306,"title":"74 LED WS2812B strip is flickering when connected to ESP8266 with Wi-Fi enabled","user":{"login":"krzychb","id":12953787,"avatar_url":"https://avatars.githubusercontent.com/u/12953787?v=3","gravatar_id":"","url":"https://api.github.com/users/krzychb","html_url":"https://github.com/krzychb","followers_url":"https://api.github.com/users/krzychb/followers","following_url":"https://api.github.com/users/krzychb/following{/other_user}","gists_url":"https://api.github.com/users/krzychb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzychb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzychb/subscriptions","organizations_url":"https://api.github.com/users/krzychb/orgs","repos_url":"https://api.github.com/users/krzychb/repos","events_url":"https://api.github.com/users/krzychb/events{/privacy}","received_events_url":"https://api.github.com/users/krzychb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2016-05-17T14:22:29Z","updated_at":"2016-06-07T05:26:39Z","closed_at":"2016-05-18T06:23:12Z","body":"I have been testing [Fire2012.ino](https://github.com/FastLED/FastLED/blob/master/examples/Fire2012/Fire2012.ino) sketch with latest FastLED library (saved directly from GitHub) using WS2812B strip with 74 and 144 LEDs  together with ESP8266.\r\n\r\nFire2012.ino works as expected when Wi-Fi of ESP8266 is off.\r\nIf Wi-Fi is on, the strip is flickering :disappointed: \r\n\r\nHas anybody tested ESP8266 in similar scenario? Do I miss something in configuration?\r\nESP8266 is all about Wi-Fi and I would like to set Fire2012 parameters (brightness, cooling and sparking) wirelessly.\r\n\r\nI do not observe flickering for Fire2012.ino sketch when implemented with Adafruit_NeoPixel and NeoPixelBus libraries.\r\n\r\nHere are my test sketches:\r\n•\t[EspNeoPixelBus](https://github.com/krzychb/EspFire2012/tree/master/EspNeoPixelBus)\r\n•\t[EspAdafruit_NeoPixel](https://github.com/krzychb/EspFire2012/tree/master/EspAdafruit_NeoPixel)\r\n•\t[EspFastLED](https://github.com/krzychb/EspFire2012/tree/master/EspFastLED)\r\n\r\nI really appreciate mature, feature rich and well documented code of FastLED and looking how to use it directly with ESP8266 without patching it with additional code.\r\n\r\nKrzysztof\r\n"},"comment":{"url":"https://api.github.com/repos/FastLED/FastLED/issues/comments/224181099","html_url":"https://github.com/FastLED/FastLED/issues/306#issuecomment-224181099","issue_url":"https://api.github.com/repos/FastLED/FastLED/issues/306","id":224181099,"user":{"login":"unaiur","id":5884679,"avatar_url":"https://avatars.githubusercontent.com/u/5884679?v=3","gravatar_id":"","url":"https://api.github.com/users/unaiur","html_url":"https://github.com/unaiur","followers_url":"https://api.github.com/users/unaiur/followers","following_url":"https://api.github.com/users/unaiur/following{/other_user}","gists_url":"https://api.github.com/users/unaiur/gists{/gist_id}","starred_url":"https://api.github.com/users/unaiur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unaiur/subscriptions","organizations_url":"https://api.github.com/users/unaiur/orgs","repos_url":"https://api.github.com/users/unaiur/repos","events_url":"https://api.github.com/users/unaiur/events{/privacy}","received_events_url":"https://api.github.com/users/unaiur/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T05:26:39Z","updated_at":"2016-06-07T05:26:39Z","body":"To drive correctly a led strip in an ESP8266 module you need to use a hardware module. NeoPixelBus can use the I2S or UART1 modules. UART1 has a 128 bytes buffer, enough to store about 11 pixels. This gives enough time to the WiFi interrupt handler to keep the thing running. I2S uses Direct Memory Access so every pixel is written out asynchronously. I also contributed to NeoPixelBus an async mode for UART1, which uses interrupts to feed the UART1 asynchronously so the CPU can compute the next frame while the hardware does its job. "}}
{"actor":{"display_login":"unaiur"}}