Created
March 26, 2019 16:30
-
-
Save rroohhh/bda26184408b58a1073f44512bec7b46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/modules/ws2812.py b/src/modules/ws2812.py | |
index d369f16..0787e7e 100644 | |
--- a/src/modules/ws2812.py | |
+++ b/src/modules/ws2812.py | |
@@ -12,7 +12,7 @@ class Ws2812: | |
def __init__(self, out, led_number, channels_per_led=3, bits=8): | |
self.out = out | |
- self.parallel_in = Array(Array(Signal(bits) for _ in range(channels_per_led)) for _ in range(led_number)) | |
+ self.parallel_in = Array(Array(Array(Signal(bits)) for _ in range(channels_per_led)) for _ in range(led_number)) | |
def elaborate(self, platform): | |
m = Module() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment