Closed miloit closed 3 years ago
Hello, I try to define a random color and apply it to 5 dots directly here is my code
r = random.randint(0, 255) g = random.randint(0, 255) b = random.randint(0, 255) self.strip[0:5] = (r,g,b) * 5 self.strip.show()
But it is always blue.
What is the issue?
Please ask on the forum or Discord for technical support. Issues are for tracking issues that require code changes in a library.
Hello, I try to define a random color and apply it to 5 dots directly here is my code
r = random.randint(0, 255) g = random.randint(0, 255) b = random.randint(0, 255) self.strip[0:5] = (r,g,b) * 5 self.strip.show()
But it is always blue.
What is the issue?