aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCaleb Jamison <[email protected]>2024-02-10 16:55:32 -0500
committerCaleb Jamison <[email protected]>2024-02-10 16:55:32 -0500
commitc873dcbb20f06e00659ab1c984ce7a753aaea7dc (patch)
tree350f6e1e2949227468960c2c1412e6aa3cbb9d07 /examples
parentedb3989b577a15bed3d0434f25edc20b6f24bf52 (diff)
Add explicit reset time to ws2812 write fn.
Diffstat (limited to 'examples')
-rw-r--r--examples/rp/src/bin/pio_ws2812.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/rp/src/bin/pio_ws2812.rs b/examples/rp/src/bin/pio_ws2812.rs
index 9a97cb8a7..e9a3d0e41 100644
--- a/examples/rp/src/bin/pio_ws2812.rs
+++ b/examples/rp/src/bin/pio_ws2812.rs
@@ -107,6 +107,8 @@ impl<'d, P: Instance, const S: usize, const N: usize> Ws2812<'d, P, S, N> {
107 107
108 // DMA transfer 108 // DMA transfer
109 self.sm.tx().dma_push(self.dma.reborrow(), &words).await; 109 self.sm.tx().dma_push(self.dma.reborrow(), &words).await;
110
111 Timer::after_micros(55).await;
110 } 112 }
111} 113}
112 114