tuple time@
This commit is contained in:
parent
ddee6c8ac7
commit
90083757ae
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ class LightStrip:
|
|||
n = np.n
|
||||
for i in range(n):
|
||||
col = self.pattern(i, t)
|
||||
logging.debug("TEST VALUES: np {} col {} same {}".format(np[i], col, np[i] != col))
|
||||
if np[i] != col:
|
||||
logging.debug("TEST VALUES: np {} col {} same {}".format(np[i], col, tuple(np[i]) != col))
|
||||
if tuple(np[i]) != col:
|
||||
np[i] = col
|
||||
logging.debug("CHANGE COLOR OF PIXEL {} TO {} ON TICK {}".format(i, col, t))
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue