[fix] Reworks some generators to use the library object
This commit is contained in:
parent
499bde0d84
commit
48770457fc
5 changed files with 48 additions and 200 deletions
|
|
@ -30,3 +30,6 @@ class Clitools:
|
|||
delta = self.looptime - elapsed
|
||||
time.sleep( delta )
|
||||
self.debug(self.name + " micro sleep:" + str( delta ))
|
||||
|
||||
def rgb2int(rgb):
|
||||
return int('0x%02x%02x%02x' % tuple(rgb),0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue