Compare commits

..

1 commit

Author SHA1 Message Date
6110039314 add logging 2021-05-25 23:51:58 -04:00
2 changed files with 3 additions and 2 deletions

View file

@ -3,5 +3,6 @@
"brightness": 200, "brightness": 200,
"gpio": 18, "gpio": 18,
"type": "grb", "type": "grb",
"fade_ticks": 25 "fade_ticks": 25,
"sleep_time": 100
} }

View file

@ -54,7 +54,7 @@ export function tick() {
tick_pattern(); tick_pattern();
} }
ws281x.render(pixels); ws281x.render(pixels);
ws281x.sleep(500); ws281x.sleep(cfg.sleep_time || 500);
} }
function fade(index) { function fade(index) {