add more logging

This commit is contained in:
jane 2021-06-04 22:19:20 -04:00
parent 595b9916c7
commit 877a7753d1

View file

@ -99,7 +99,9 @@ function tick_pattern() {
if (pattern.length > 0) {
for (let i = 0; i < cfg.leds; i++) {
for (let command of pattern) {
for (let id in pattern) {
let command = pattern[id];
log.info(`pattern ${id} ${command}`);
let name = command["command"];
log.info(`${name} matches: ${functions[name]}`);
if (functions[name] != undefined) {