We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81a99eb commit b539a61Copy full SHA for b539a61
1 file changed
esp8266/scripts/neopixel.py
@@ -18,7 +18,7 @@ def __setitem__(self, index, val):
18
19
def __getitem__(self, index):
20
i = index * 3
21
- return self.buf[i], self.buf[i + 1], self.buf[i + 2]
+ return self.buf[i + 1], self.buf[i], self.buf[i + 2]
22
23
def write(self):
24
neopixel_write(self.pin, self.buf, True)
0 commit comments