Skip to content

Commit

Permalink
[software] add leds off scene
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezii committed Sep 18, 2024
1 parent 3cab84b commit 0b92628
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The badge emits different light effects. Gently press the USER key to select the
10. gigaBlue
11. gigaWhite (torch)
12. under arrest
13. leds off

This comment has been minimized.

Copy link
@valerio-bozzolan

valerio-bozzolan Sep 18, 2024

Contributor

You may be interested in "black hole" instead

This comment has been minimized.

Copy link
@valerio-bozzolan

valerio-bozzolan Sep 18, 2024

Contributor

Also probably useful to say "(not available as default in version 1)" or something similar

This comment has been minimized.

Copy link
@Kezii

Kezii Sep 18, 2024

Author Contributor

we have not yet flashed the devices, all changes now are for v1, we are free to change / invent new animations


## Project Structure

Expand Down
7 changes: 7 additions & 0 deletions antani_sw/src/scenes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,13 @@ pub fn scenes() -> Scenes {
..Default::default()
}])
.unwrap(),
// off
Vec::from_slice(&[RenderCommand {
effect: Pattern::Simple(0),
color: ColorPalette::Solid((0, 0, 0).into()),
..Default::default()
}])
.unwrap(),
])
.unwrap()
}

0 comments on commit 0b92628

Please sign in to comment.