aboutsummaryrefslogtreecommitdiff
path: root/examples/rp/src/bin/pio_ws2812.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rp/src/bin/pio_ws2812.rs')
-rw-r--r--examples/rp/src/bin/pio_ws2812.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rp/src/bin/pio_ws2812.rs b/examples/rp/src/bin/pio_ws2812.rs
index 5c0c60246..7b3259538 100644
--- a/examples/rp/src/bin/pio_ws2812.rs
+++ b/examples/rp/src/bin/pio_ws2812.rs
@@ -13,7 +13,7 @@ use embassy_rp::pio::{
13 Common, Config, FifoJoin, Instance, InterruptHandler, Pio, PioPin, ShiftConfig, ShiftDirection, StateMachine, 13 Common, Config, FifoJoin, Instance, InterruptHandler, Pio, PioPin, ShiftConfig, ShiftDirection, StateMachine,
14}; 14};
15use embassy_rp::{bind_interrupts, clocks, into_ref, Peripheral, PeripheralRef}; 15use embassy_rp::{bind_interrupts, clocks, into_ref, Peripheral, PeripheralRef};
16use embassy_time::{Duration, Timer}; 16use embassy_time::Timer;
17use fixed::types::U24F8; 17use fixed::types::U24F8;
18use fixed_macro::fixed; 18use fixed_macro::fixed;
19use smart_leds::RGB8; 19use smart_leds::RGB8;
@@ -153,7 +153,7 @@ async fn main(_spawner: Spawner) {
153 } 153 }
154 ws2812.write(&data).await; 154 ws2812.write(&data).await;
155 155
156 Timer::after(Duration::from_millis(10)).await; 156 Timer::after_millis(10).await;
157 } 157 }
158 } 158 }
159} 159}