|
|
@ -354,7 +354,8 @@ class BlinkenbuntHDOutput(Output): |
|
|
|
|
|
|
|
|
|
|
|
@classmethod |
|
|
|
@classmethod |
|
|
|
def fromRegexMatch(cls, regexMatch): |
|
|
|
def fromRegexMatch(cls, regexMatch): |
|
|
|
return cls(brightness=regexMatch.groupdict().get('brightness', 50)) |
|
|
|
b = int(regexMatch.groupdict().get('brightness', 50)) |
|
|
|
|
|
|
|
return cls(brightness=b) |
|
|
|
|
|
|
|
|
|
|
|
def sendFrame(self, frame): |
|
|
|
def sendFrame(self, frame): |
|
|
|
for y in range(self.h): |
|
|
|
for y in range(self.h): |
|
|
|