Small correction to times
This commit is contained in:
parent
e9e4d058d1
commit
9e36ede363
@ -55,7 +55,7 @@ async fn main(_spawner: Spawner, p: Peripherals) {
|
|||||||
loop {
|
loop {
|
||||||
let sequence0 = Sequence::new(&seq_words, seq_config.clone());
|
let sequence0 = Sequence::new(&seq_words, seq_config.clone());
|
||||||
let sequences = Sequences::new(&mut pwm, sequence0, None);
|
let sequences = Sequences::new(&mut pwm, sequence0, None);
|
||||||
unwrap!(sequences.start(SequenceMode::Times(2)));
|
unwrap!(sequences.start(SequenceMode::Times(1)));
|
||||||
|
|
||||||
Timer::after(Duration::from_millis(50)).await;
|
Timer::after(Duration::from_millis(50)).await;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user