diff options
author | Sebastian Muszytowski <sebastian@muszytowski.net> | 2016-01-27 22:19:03 +0100 |
---|---|---|
committer | Sebastian Muszytowski <sebastian@muszytowski.net> | 2016-01-27 22:19:03 +0100 |
commit | c079af446d61c892b867a9ab4efd2e496dfb9cce (patch) | |
tree | cb65b3baaf9d496a8a95dbb272785a37728f334c /utilities | |
parent | 88a1202efc78d187df0c943bb3da582bfba0cd2c (diff) |
fix animation header function
Diffstat (limited to 'utilities')
-rw-r--r-- | utilities/blinkenrocket.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utilities/blinkenrocket.py b/utilities/blinkenrocket.py index 60f2bf2..fe79695 100644 --- a/utilities/blinkenrocket.py +++ b/utilities/blinkenrocket.py @@ -155,11 +155,12 @@ class animationFrame(): # Header -> 4bit zero, 4bit speed, 4 bit zero, 4 bit direction def getHeader(self): - return [self.speed, self.delay] + return [chr(self.speed), chr(self.delay)] def getRepresentation(self): return self.getHeader().extend(self.animation) + class blinkenrocket(): eeprom_size = 65536 |