November tweaks
This commit is contained in:
parent
22cea4f23a
commit
e3d5ec832f
1 changed files with 14 additions and 2 deletions
|
@ -7,7 +7,8 @@ use lights::{HardwareRgb, Lights};
|
||||||
const YELLOW: Rgb = Rgb(255, 195, 31);
|
const YELLOW: Rgb = Rgb(255, 195, 31);
|
||||||
const ORANGE: Rgb = Rgb(220, 117, 0);
|
const ORANGE: Rgb = Rgb(220, 117, 0);
|
||||||
const PUMPKIN: Rgb = Rgb(172, 67, 12);
|
const PUMPKIN: Rgb = Rgb(172, 67, 12);
|
||||||
const BROWN: Rgb = Rgb(118, 41, 0);
|
//const BROWN: Rgb = Rgb(118, 41, 0);
|
||||||
|
const BROWN: Rgb = Rgb(90, 34, 0);
|
||||||
const RED: Rgb = Rgb(130, 18, 16);
|
const RED: Rgb = Rgb(130, 18, 16);
|
||||||
const OFF: Rgb = Rgb(0, 0, 0);
|
const OFF: Rgb = Rgb(0, 0, 0);
|
||||||
|
|
||||||
|
@ -15,7 +16,18 @@ const OFF: Rgb = Rgb(0, 0, 0);
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub fn run(lights: &mut impl Lights<Pixel = HardwareRgb>) -> ! {
|
pub fn run(lights: &mut impl Lights<Pixel = HardwareRgb>) -> ! {
|
||||||
let pattern = Harrogate {
|
let pattern = Harrogate {
|
||||||
porch_back: [OFF, OFF].iter().cloned().chain(repeat(BROWN)),
|
porch_back: repeat(OFF)
|
||||||
|
.take(87)
|
||||||
|
.chain(repeat(RED).take(6))
|
||||||
|
.chain(repeat(BROWN).take(6))
|
||||||
|
.chain(repeat(PUMPKIN).take(6))
|
||||||
|
.chain(repeat(ORANGE).take(6))
|
||||||
|
.chain(repeat(YELLOW).take(12))
|
||||||
|
.chain(repeat(ORANGE).take(6))
|
||||||
|
.chain(repeat(PUMPKIN).take(6))
|
||||||
|
.chain(repeat(BROWN).take(6))
|
||||||
|
.chain(repeat(RED).take(6))
|
||||||
|
.chain(repeat(OFF).take(3)),
|
||||||
porch_front: repeat(OFF),
|
porch_front: repeat(OFF),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue