Commit b539a614 authored by Damien George's avatar Damien George

esp8266/scripts/neopixel.py: Swap red and green in pixel accessor.

parent 81a99eb3
......@@ -18,7 +18,7 @@ class NeoPixel:
def __getitem__(self, index):
i = index * 3
return self.buf[i], self.buf[i + 1], self.buf[i + 2]
return self.buf[i + 1], self.buf[i], self.buf[i + 2]
def write(self):
neopixel_write(self.pin, self.buf, True)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment