{"action":"opened","issue":{"url":"https://api.github.com/repos/FastLED/FastLED/issues/634","repository_url":"https://api.github.com/repos/FastLED/FastLED","labels_url":"https://api.github.com/repos/FastLED/FastLED/issues/634/labels{/name}","comments_url":"https://api.github.com/repos/FastLED/FastLED/issues/634/comments","events_url":"https://api.github.com/repos/FastLED/FastLED/issues/634/events","html_url":"https://github.com/FastLED/FastLED/issues/634","id":347240250,"node_id":"MDU6SXNzdWUzNDcyNDAyNTA=","number":634,"title":"Indexing of WS2813 pixel strip is off","user":{"login":"alexdmiller","id":926408,"node_id":"MDQ6VXNlcjkyNjQwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/926408?v=4","gravatar_id":"","url":"https://api.github.com/users/alexdmiller","html_url":"https://github.com/alexdmiller","followers_url":"https://api.github.com/users/alexdmiller/followers","following_url":"https://api.github.com/users/alexdmiller/following{/other_user}","gists_url":"https://api.github.com/users/alexdmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdmiller/subscriptions","organizations_url":"https://api.github.com/users/alexdmiller/orgs","repos_url":"https://api.github.com/users/alexdmiller/repos","events_url":"https://api.github.com/users/alexdmiller/events{/privacy}","received_events_url":"https://api.github.com/users/alexdmiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-03T02:48:21Z","updated_at":"2018-08-03T02:48:21Z","closed_at":null,"author_association":"NONE","body":"I'm experiencing a strange problem when indexing pixels on my WS2813 pixel strip. The indices work fine up until index 63. At that point, they start jumping around. Here's what I mean:\r\n\r\nThe following code should turn pixel at index 63 to blue:\r\n\r\n```\r\n#include <FastLED.h>\r\n\r\n#define LED_PIN     5\r\n#define NUM_LEDS    74\r\n\r\n#define BRIGHTNESS  255\r\n\r\n#define LED_TYPE    WS2813\r\n#define COLOR_ORDER GRB\r\nCRGB leds[NUM_LEDS];\r\n\r\n#define UPDATES_PER_SECOND 100\r\n\r\nvoid setup() {\r\n    delay( 3000 ); // power-up safety delay\r\n    FastLED.addLeds<LED_TYPE, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );\r\n    FastLED.setBrightness(  BRIGHTNESS );\r\n}\r\n\r\nvoid loop()\r\n{\r\n  for (int i = 0; i < NUM_LEDS; i++) {\r\n    leds[i] = CRGB::Black;\r\n  }\r\n\r\n  leds[63] = CRGB::Blue;\r\n  \r\n  FastLED.show();\r\n  FastLED.delay(1000 / UPDATES_PER_SECOND);\r\n}\r\n```\r\n\r\nInstead, it actually skips a couple of pixels, and turns the pixel at index 65 blue! Even more strangely, setting `leds[64] = CRGB::Blue;` does what is expected, but then `leds[65]` skips again. This continues for the remaining length of the pixel strip.\r\n\r\nI can get the indices to behave normally If I turn all the pixels white, like so:\r\n\r\n```\r\nfor (int i = 0; i < NUM_LEDS; i++) {\r\n  leds[i] = CRGB::White;\r\n}\r\n\r\nleds[63] = CRGB::Blue;\r\n```\r\n\r\nI don't know enough about FastLED/WS2813 to diagnose the problem, but any help would be greatly appreciated.\r\n\r\n"}}
{"actor":{"display_login":"alexdmiller"}}