Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Commit a302f8f

Browse files
committed
Fix dotstar brightness tuple setter
1 parent 0b40444 commit a302f8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_pypixelbuf.py

+1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ def _parse_color(self, value):
243243
r, g, b, w = value
244244
elif len(value) == 3 and self._dotstar_mode:
245245
r, g, b = value
246+
w = 1.0
246247

247248
if self._bpp == 4 and self._dotstar_mode:
248249
# LED startframe is three "1" bits, followed by 5 brightness bits

0 commit comments

Comments
 (0)