add more logs

This commit is contained in:
jane 2021-06-04 22:23:36 -04:00
parent 724e334c26
commit a670cdc253

View file

@ -98,6 +98,7 @@ function tick_pattern() {
log.debug("TICKING PATTERN") log.debug("TICKING PATTERN")
let parsed = pattern.parsed; let parsed = pattern.parsed;
log.info(`${JSON.stringify(pattern})} ${JSON.stringify(parsed)}`);
if (parsed && parsed.length > 0) { if (parsed && parsed.length > 0) {
for (let i = 0; i < cfg.leds; i++) { for (let i = 0; i < cfg.leds; i++) {