[fix] Reworks some generators to use the library object

This commit is contained in:
alban 2020-11-28 21:44:10 +01:00
parent 499bde0d84
commit 48770457fc
5 changed files with 48 additions and 200 deletions

View file

@ -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)