Skip to content

Commit

Permalink
vinscant: better effect
Browse files Browse the repository at this point in the history
  • Loading branch information
draxaris1010 committed Sep 12, 2024
1 parent 8a1ea7b commit 9b6440b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vinscant/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use hex::ToHex;
use smart_led_effects::{strip::{EffectIterator, Rainbow}, Srgb};
use smart_led_effects::{strip::{EffectIterator, Wipe}, Srgb};
use ws2812_esp32_rmt_driver::{driver::color::LedPixelColorGrb24, LedPixelEsp32Rmt, RGB8};
use core::str;
use std::time::{Duration, SystemTime, UNIX_EPOCH};
Expand Down Expand Up @@ -124,7 +124,7 @@ fn main() {
let mut status_notifier = StatusNotifier {
led_strip,
leds: 8,
idle_effect: Box::new(Rainbow::new(8, None)),
idle_effect: Box::new(Wipe::new(8, vec![Srgb::new(0x00, 0x00, 0x00), Srgb::new(0xff, 0x7f, 0x00)], true)),
};

let mut last_uid = hex::encode([0_u8]);
Expand Down

0 comments on commit 9b6440b

Please sign in to comment.