This commit is contained in:
jane 2021-05-25 23:30:42 -04:00
parent 869a627680
commit 5e819c74ed
2 changed files with 5 additions and 0 deletions

View file

@ -10,3 +10,7 @@ server.recv(
console.log(`error callback: ${res}`);
}
);
while (true) {
lights.tick();
}

View file

@ -47,6 +47,7 @@ export function tick() {
tick_pattern();
}
ws281x.render(pixels);
ws281x.sleep(10);
}
function fade(index) {