Tweak brightness

This commit is contained in:
2023-12-19 19:31:08 +01:00
parent 7d9cfe9557
commit 00b3b51b36
4 changed files with 19 additions and 12 deletions

View File

@ -104,7 +104,7 @@ async fn main(_spawner: Spawner) {
neopixel.write(&[Rgb::new(0x00, 0x00, 0xFF)]).await;
for w in 0usize.. {
neopixel.write(&[wheel(w as u8)]).await;
neopixel.write(&[wheel(w as u8) * 0.15]).await;
Timer::after(Duration::from_millis(10)).await;
}
}