tuple time@

This commit is contained in:
janeptrv 2020-11-06 23:15:40 -05:00
parent ddee6c8ac7
commit 90083757ae

View file

@ -25,8 +25,8 @@ class LightStrip:
n = np.n n = np.n
for i in range(n): for i in range(n):
col = self.pattern(i, t) col = self.pattern(i, t)
logging.debug("TEST VALUES: np {} col {} same {}".format(np[i], col, np[i] != col)) logging.debug("TEST VALUES: np {} col {} same {}".format(np[i], col, tuple(np[i]) != col))
if np[i] != col: if tuple(np[i]) != col:
np[i] = col np[i] = col
logging.debug("CHANGE COLOR OF PIXEL {} TO {} ON TICK {}".format(i, col, t)) logging.debug("CHANGE COLOR OF PIXEL {} TO {} ON TICK {}".format(i, col, t))
break; break;