Expand pattern for testing chaining
This commit is contained in:
parent
a29ec85a6c
commit
a6bacb391b
1 changed files with 4 additions and 4 deletions
|
@ -37,7 +37,7 @@ fn main() -> ! {
|
|||
].iter().cycle().take(85)
|
||||
).cycle();
|
||||
|
||||
let mut buffer = [HardwareRgb(255,255,0); 150];
|
||||
let mut buffer = [HardwareRgb(255,255,0); 200];
|
||||
let mut light = false;
|
||||
//delay(48_000_000 * 3);
|
||||
loop {
|
||||
|
@ -48,9 +48,9 @@ fn main() -> ! {
|
|||
}
|
||||
light = !light;
|
||||
|
||||
for (i, pixel) in pattern.clone().take(150).enumerate() {
|
||||
for (i, pixel) in pattern.clone().take(200).enumerate() {
|
||||
buffer[i] = correct(pixel);
|
||||
// buffer[i] = HardwareRgb(0,0,0);
|
||||
//buffer[i] = HardwareRgb(255,128,0);
|
||||
}
|
||||
|
||||
buffer.iter().render_to(&mut lights);
|
||||
|
@ -64,6 +64,6 @@ fn main() -> ! {
|
|||
// lights.byte(255);
|
||||
|
||||
pattern.next();
|
||||
delay(12_000_000);
|
||||
delay(1_000_000);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue