Compare commits
1 commit
54f1b959f0
...
6110039314
Author | SHA1 | Date | |
---|---|---|---|
6110039314 |
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue