Add explicit reset time to ws2812 write fn.
This commit is contained in:
		
							parent
							
								
									edb3989b57
								
							
						
					
					
						commit
						c873dcbb20
					
				@ -107,6 +107,8 @@ impl<'d, P: Instance, const S: usize, const N: usize> Ws2812<'d, P, S, N> {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        // DMA transfer
 | 
					        // DMA transfer
 | 
				
			||||||
        self.sm.tx().dma_push(self.dma.reborrow(), &words).await;
 | 
					        self.sm.tx().dma_push(self.dma.reborrow(), &words).await;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Timer::after_micros(55).await;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user