{"action":"created","issue":{"url":"https://api.github.com/repos/FastLED/FastLED/issues/286","repository_url":"https://api.github.com/repos/FastLED/FastLED","labels_url":"https://api.github.com/repos/FastLED/FastLED/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/FastLED/FastLED/issues/286/comments","events_url":"https://api.github.com/repos/FastLED/FastLED/issues/286/events","html_url":"https://github.com/FastLED/FastLED/issues/286","id":147280250,"number":286,"title":"Most recent commit seems to have broken something (via PlatformIO)","user":{"login":"julianh2o","id":129112,"avatar_url":"https://avatars.githubusercontent.com/u/129112?v=3","gravatar_id":"","url":"https://api.github.com/users/julianh2o","html_url":"https://github.com/julianh2o","followers_url":"https://api.github.com/users/julianh2o/followers","following_url":"https://api.github.com/users/julianh2o/following{/other_user}","gists_url":"https://api.github.com/users/julianh2o/gists{/gist_id}","starred_url":"https://api.github.com/users/julianh2o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianh2o/subscriptions","organizations_url":"https://api.github.com/users/julianh2o/orgs","repos_url":"https://api.github.com/users/julianh2o/repos","events_url":"https://api.github.com/users/julianh2o/events{/privacy}","received_events_url":"https://api.github.com/users/julianh2o/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-10T23:53:42Z","updated_at":"2016-04-11T17:19:15Z","closed_at":null,"body":"I was prompted by PlatformIO to update my FastLED library.\r\nI think it updated to this version: https://libraries.io/platformio/FastLED/c257d754e3\r\n\r\nAnyway, my project completely stopped working, the strips stopped updating entirely. I'm using PlatformIO and uploading to an ESP-12. I'm using a custom controller to drive my LEDs.\r\n\r\nI'm a little concerned that PlatformIO prompted me to install an unreleased new version.. I wonder if that's intentional."},"comment":{"url":"https://api.github.com/repos/FastLED/FastLED/issues/comments/208456459","html_url":"https://github.com/FastLED/FastLED/issues/286#issuecomment-208456459","issue_url":"https://api.github.com/repos/FastLED/FastLED/issues/286","id":208456459,"user":{"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},"created_at":"2016-04-11T17:19:14Z","updated_at":"2016-04-11T17:19:14Z","body":"That's not really an example, that's a variant definition :) \r\n\r\nThere isn't a single example under the esp8266 platform that uses the Dx convention for accessing digital pins.  For example, in https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/examples/AdvancedWebServer/AdvancedWebServer.ino all the digitalWrite calls use a variable named led which is defined as:\r\n\r\n```\r\nconst int led = 13;\r\n```\r\n\r\nand pretty much all the examples are like that.\r\n\r\nFor most of the other arduino platforms, there is a mapping between the integer pin values to the correct underlying port/pin representation (even the ESP8266 has multiple ports - technically pin 16 is on a separate gpio port from the other 15).  In fact, I don't think the other arduino platforms use the Dx convention for pins at all.  They just use the raw pin numbers (except for analog pins, which are marked as A0/A1/etc...).\r\n\r\nGiven that the majority of FastLED's users are coming from the arduino world, I do try to work/fit with that, especially now that there are esp8266 boards running around where the pin designation on the silkscreen on the board does _not_ line up to the underlying GPIO pins.  \r\n"}}