{"action":"created","issue":{"url":"https://api.github.com/repos/FastLED/FastLED/issues/91","labels_url":"https://api.github.com/repos/FastLED/FastLED/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/FastLED/FastLED/issues/91/comments","events_url":"https://api.github.com/repos/FastLED/FastLED/issues/91/events","html_url":"https://github.com/FastLED/FastLED/issues/91","id":47219306,"number":91,"title":"control global brightness on APA102 (and other chip supporting it)","user":{"login":"avilleret","id":504914,"avatar_url":"https://avatars.githubusercontent.com/u/504914?v=3","gravatar_id":"","url":"https://api.github.com/users/avilleret","html_url":"https://github.com/avilleret","followers_url":"https://api.github.com/users/avilleret/followers","following_url":"https://api.github.com/users/avilleret/following{/other_user}","gists_url":"https://api.github.com/users/avilleret/gists{/gist_id}","starred_url":"https://api.github.com/users/avilleret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avilleret/subscriptions","organizations_url":"https://api.github.com/users/avilleret/orgs","repos_url":"https://api.github.com/users/avilleret/repos","events_url":"https://api.github.com/users/avilleret/events{/privacy}","received_events_url":"https://api.github.com/users/avilleret/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/FastLED/FastLED/milestones/6","html_url":"https://github.com/FastLED/FastLED/milestones/FastLED%203.1%20release","labels_url":"https://api.github.com/repos/FastLED/FastLED/milestones/6/labels","id":844526,"number":6,"title":"FastLED 3.1 release","description":null,"creator":{"login":"focalintent","id":4370457,"avatar_url":"https://avatars.githubusercontent.com/u/4370457?v=3","gravatar_id":"","url":"https://api.github.com/users/focalintent","html_url":"https://github.com/focalintent","followers_url":"https://api.github.com/users/focalintent/followers","following_url":"https://api.github.com/users/focalintent/following{/other_user}","gists_url":"https://api.github.com/users/focalintent/gists{/gist_id}","starred_url":"https://api.github.com/users/focalintent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/focalintent/subscriptions","organizations_url":"https://api.github.com/users/focalintent/orgs","repos_url":"https://api.github.com/users/focalintent/repos","events_url":"https://api.github.com/users/focalintent/events{/privacy}","received_events_url":"https://api.github.com/users/focalintent/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":114,"state":"open","created_at":"2014-10-29T01:01:15Z","updated_at":"2015-10-03T22:10:29Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2014-10-30T00:02:52Z","updated_at":"2016-01-06T20:56:41Z","closed_at":"2015-04-05T02:25:50Z","body":"I saw the brightness is fixed to 0xFF in https://github.com/FastLED/FastLED/blob/master/chipsets.h#L141\r\n\r\nThis could be very useful to control the global brightness of chips that has one (like APA102).\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/FastLED/FastLED/issues/comments/169458519","html_url":"https://github.com/FastLED/FastLED/issues/91#issuecomment-169458519","issue_url":"https://api.github.com/repos/FastLED/FastLED/issues/91","id":169458519,"user":{"login":"embedded-creations","id":1514796,"avatar_url":"https://avatars.githubusercontent.com/u/1514796?v=3","gravatar_id":"","url":"https://api.github.com/users/embedded-creations","html_url":"https://github.com/embedded-creations","followers_url":"https://api.github.com/users/embedded-creations/followers","following_url":"https://api.github.com/users/embedded-creations/following{/other_user}","gists_url":"https://api.github.com/users/embedded-creations/gists{/gist_id}","starred_url":"https://api.github.com/users/embedded-creations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embedded-creations/subscriptions","organizations_url":"https://api.github.com/users/embedded-creations/orgs","repos_url":"https://api.github.com/users/embedded-creations/repos","events_url":"https://api.github.com/users/embedded-creations/events{/privacy}","received_events_url":"https://api.github.com/users/embedded-creations/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T20:56:41Z","updated_at":"2016-01-06T20:56:41Z","body":"Here's a simple demo:\r\nhttps://github.com/embedded-creations/apa102-gbctest\r\n\r\nThe code interpolates between two random colors very slowly.  Even with a brightness of 10/256, stepping is not very apparent on the LED using GBC bits, but it is very apparent on the 8-bit LED.  Interpolation code is from the blink1 firmware, modified to work with 16-bit colors instead of 8-bit.  I ran this on a Teensy 3.1 at 72MHz but it's not really platform specific."}}