{"action":"created","issue":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/877","labels_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/877/labels{/name}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/877/comments","events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/877/events","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/877","id":123898821,"number":877,"title":"ws2812 stops working after a few writes","user":{"login":"sjoerdtimmer","id":633834,"avatar_url":"https://avatars.githubusercontent.com/u/633834?v=3","gravatar_id":"","url":"https://api.github.com/users/sjoerdtimmer","html_url":"https://github.com/sjoerdtimmer","followers_url":"https://api.github.com/users/sjoerdtimmer/followers","following_url":"https://api.github.com/users/sjoerdtimmer/following{/other_user}","gists_url":"https://api.github.com/users/sjoerdtimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/sjoerdtimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjoerdtimmer/subscriptions","organizations_url":"https://api.github.com/users/sjoerdtimmer/orgs","repos_url":"https://api.github.com/users/sjoerdtimmer/repos","events_url":"https://api.github.com/users/sjoerdtimmer/events{/privacy}","received_events_url":"https://api.github.com/users/sjoerdtimmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-25T21:55:20Z","updated_at":"2015-12-25T22:45:11Z","closed_at":null,"body":"I'm having 'curious' issues with my 72 led ws2812 ledstrip.\r\nIt works at first, but after a few (0 to 5 so far) writes it stops working: leds go all off and nothing can turn them back on. Not even rebooting or even reflashing nodemcu firmware. So far I have found one way to make the strip work again:\r\n1. flash some other custom c-firmware that addresses the leds (this is an old version of the project and I wished to add a simple webserver to it which I thought was gonna be easy using nodemcu;-))\r\n2. flash nodemcu again, upload lua script and run\r\nthis will work for a couple of calls to ws2812.writergb() after which the system breaks again.\r\n\r\nThis suggests that either the ws2812 is put in a non-responsive state or some pretty low-level register-stuff gets mixed up...\r\n\r\nAny suggestions what might be causing this?\r\nAny debugging hints?\r\n"},"comment":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/comments/167265594","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/877#issuecomment-167265594","issue_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/877","id":167265594,"user":{"login":"TerryE","id":690173,"avatar_url":"https://avatars.githubusercontent.com/u/690173?v=3","gravatar_id":"","url":"https://api.github.com/users/TerryE","html_url":"https://github.com/TerryE","followers_url":"https://api.github.com/users/TerryE/followers","following_url":"https://api.github.com/users/TerryE/following{/other_user}","gists_url":"https://api.github.com/users/TerryE/gists{/gist_id}","starred_url":"https://api.github.com/users/TerryE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerryE/subscriptions","organizations_url":"https://api.github.com/users/TerryE/orgs","repos_url":"https://api.github.com/users/TerryE/repos","events_url":"https://api.github.com/users/TerryE/events{/privacy}","received_events_url":"https://api.github.com/users/TerryE/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T22:45:11Z","updated_at":"2015-12-25T22:45:11Z","body":"You are using large (e.g. up to 216 elt) temporary arrays so will have garbage collection issues, but advice on Lua techniques is this is outside the scope of this forum (See #719).  My suggestion is that @Alkorin @bbktsk (who has another open PR #869 open) have a look and comment re the driver aspects.   "}}