{"action":"created","issue":{"url":"https://api.github.com/repos/tvdzwan/hyperion/issues/559","repository_url":"https://api.github.com/repos/tvdzwan/hyperion","labels_url":"https://api.github.com/repos/tvdzwan/hyperion/issues/559/labels{/name}","comments_url":"https://api.github.com/repos/tvdzwan/hyperion/issues/559/comments","events_url":"https://api.github.com/repos/tvdzwan/hyperion/issues/559/events","html_url":"https://github.com/tvdzwan/hyperion/pull/559","id":142259859,"number":559,"title":"Add ws281x driver parameter for PWM channel","user":{"login":"markwal","id":10781013,"avatar_url":"https://avatars.githubusercontent.com/u/10781013?v=3","gravatar_id":"","url":"https://api.github.com/users/markwal","html_url":"https://github.com/markwal","followers_url":"https://api.github.com/users/markwal/followers","following_url":"https://api.github.com/users/markwal/following{/other_user}","gists_url":"https://api.github.com/users/markwal/gists{/gist_id}","starred_url":"https://api.github.com/users/markwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markwal/subscriptions","organizations_url":"https://api.github.com/users/markwal/orgs","repos_url":"https://api.github.com/users/markwal/repos","events_url":"https://api.github.com/users/markwal/events{/privacy}","received_events_url":"https://api.github.com/users/markwal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-21T05:09:34Z","updated_at":"2016-03-21T14:23:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tvdzwan/hyperion/pulls/559","html_url":"https://github.com/tvdzwan/hyperion/pull/559","diff_url":"https://github.com/tvdzwan/hyperion/pull/559.diff","patch_url":"https://github.com/tvdzwan/hyperion/pull/559.patch"},"body":"**1.** Tell us something about your changes.\r\n\r\nThe RPi 2 and 3 have two PWM channels and 3 PWM pins available to the\r\ngpio header.  BCM18 and BCM12 run on PWM channel 0.  BCM13 runs on PWM\r\nchannel 1.  This change allows BCM13 to be used by allowing the PWM\r\nchannel to be specified.\r\n\r\n**2.** If this changes affect the .conf file. Please provide the changed section\r\n\r\nAdds optional \"pwmchannel\" parameter to the \"device\" section.  If unspecified, has the default of 0 which was used before this change.  So, all old .conf files should work the same as they did before.\r\n\r\n**3.** Reference a issue (optional)\r\n"},"comment":{"url":"https://api.github.com/repos/tvdzwan/hyperion/issues/comments/199310007","html_url":"https://github.com/tvdzwan/hyperion/pull/559#issuecomment-199310007","issue_url":"https://api.github.com/repos/tvdzwan/hyperion/issues/559","id":199310007,"user":{"login":"markwal","id":10781013,"avatar_url":"https://avatars.githubusercontent.com/u/10781013?v=3","gravatar_id":"","url":"https://api.github.com/users/markwal","html_url":"https://github.com/markwal","followers_url":"https://api.github.com/users/markwal/followers","following_url":"https://api.github.com/users/markwal/following{/other_user}","gists_url":"https://api.github.com/users/markwal/gists{/gist_id}","starred_url":"https://api.github.com/users/markwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markwal/subscriptions","organizations_url":"https://api.github.com/users/markwal/orgs","repos_url":"https://api.github.com/users/markwal/repos","events_url":"https://api.github.com/users/markwal/events{/privacy}","received_events_url":"https://api.github.com/users/markwal/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T14:23:09Z","updated_at":"2016-03-21T14:23:09Z","body":"The ws281x driver doesn't make use of the pwm kernel module, so it will conflict if used. That was true before this pull request. Also with the ws2812b driver.\r\n\r\nI didn't do the invert option because Hyperion already had color order."}}