{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5565","repository_url":"https://api.github.com/repos/RIOT-OS/RIOT","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5565/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5565/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5565/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/5565","id":161726444,"number":5565,"title":"Add a 'leds' library to dynamically set leds","user":{"login":"cladmi","id":241401,"avatar_url":"https://avatars.githubusercontent.com/u/241401?v=3","gravatar_id":"","url":"https://api.github.com/users/cladmi","html_url":"https://github.com/cladmi","followers_url":"https://api.github.com/users/cladmi/followers","following_url":"https://api.github.com/users/cladmi/following{/other_user}","gists_url":"https://api.github.com/users/cladmi/gists{/gist_id}","starred_url":"https://api.github.com/users/cladmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cladmi/subscriptions","organizations_url":"https://api.github.com/users/cladmi/orgs","repos_url":"https://api.github.com/users/cladmi/repos","events_url":"https://api.github.com/users/cladmi/events{/privacy}","received_events_url":"https://api.github.com/users/cladmi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-22T16:20:35Z","updated_at":"2016-06-22T17:46:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5565","html_url":"https://github.com/RIOT-OS/RIOT/pull/5565","diff_url":"https://github.com/RIOT-OS/RIOT/pull/5565.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/5565.patch"},"body":"I needed to configure LEDs dynamically from a shell, this implied being able to turn on/off/toggle LEDs by number/flag. But I only found macros for doing this.\r\n\r\nI wrote this first version in my firmware directory.\r\nI tested it on iotlab-m3 and tested compiling with native.\r\nThis is just a copy-pasted version into sys\r\n\r\nWould there be a need for something like that in RIOT ?"},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/227822356","html_url":"https://github.com/RIOT-OS/RIOT/pull/5565#issuecomment-227822356","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5565","id":227822356,"user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T17:46:26Z","updated_at":"2016-06-22T17:46:26Z","body":"saul will probably be the preferred way of setting leds. Is that available for your board?"}}
{"actor":{"display_login":"kaspar030"}}