Skip to content

Commit

Permalink
re-enabled scheduler for warpspeed
Browse files Browse the repository at this point in the history
  • Loading branch information
DavJCosby committed Apr 10, 2024
1 parent 3cbde6d commit c5bf807
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions examples/warpspeed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ fn main() {
Rgb::new(0.0, 0.0, 1.0),
]);

//let mut scheduler = Scheduler::new(500.0);
//scheduler.loop_until_err(|| {
loop {
let mut scheduler = Scheduler::new(500.0);
scheduler.loop_until_err(|| {
driver.step();
display.set_leds(driver.colors_and_positions_coerced());
display.refresh().unwrap();
//Ok(())
}
//});
Ok(())
});
}

0 comments on commit c5bf807

Please sign in to comment.