Tweak brightness

This commit is contained in:
hulthe committed 2023-12-19 19:31:08 +01:00
1 parent 7d9cfe9557
commit 00b3b51b36
4 files changed
+19 -12

No files matched your search

+1 -1
View File
@@ -106,7 +106,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;
}
}