We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5cf46d commit 8a0d79cCopy full SHA for 8a0d79c
examples/drivers/neostrand/docExample/main.js
@@ -18,9 +18,9 @@ import Monitor from "pins/digital/monitor";
18
import { NeoStrand, NeoStrandEffect } from "neostrand";
19
20
const Timing_WS2812B = {
21
- mark: { level0: 1, duration0: 18, level1: 0, duration1: 7, },
22
- space: { level0: 1, duration0: 7, level1: 0, duration1: 18, },
23
- reset: { level0: 0, duration0: 600, level1: 0, duration1: 600 }};
+ mark: { level0: 1, duration0: 900, level1: 0, duration1: 350, },
+ space: { level0: 1, duration0: 350, level1: 0, duration1: 900, },
+ reset: { level0: 0, duration0: 100, level1: 0, duration1: 100 }};
24
25
const LEN = 144;
26
const strand = new NeoStrand({length: LEN, pin: 22, order: "RGB", timing: Timing_WS2812B});
@@ -118,5 +118,6 @@ class RandomColor extends NeoStrandEffect {
118
}
119
120
121
-manySchemes.push( [ new RandomColor( { strand } ) ]);
+let randomColorScheme = [ new RandomColor({ strand }) ];
122
+manySchemes.push( randomColorScheme );
123
0 commit comments