mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
rustfmt
This commit is contained in:
parent
7fc09f89e8
commit
8baf88f8f4
@ -5,19 +5,19 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
use assign_resources::assign_resources;
|
||||
use defmt::*;
|
||||
use embassy_executor::Spawner;
|
||||
use embassy_rp::block::ImageDef;
|
||||
use embassy_rp::config::Config;
|
||||
use embassy_rp::gpio;
|
||||
use embassy_rp::gpio::Output;
|
||||
use embassy_rp::peripherals;
|
||||
use embassy_rp::gpio;
|
||||
use embassy_rp::pwm;
|
||||
use embassy_time::Duration;
|
||||
use embassy_time::Timer;
|
||||
use {defmt_rtt as _, panic_probe as _};
|
||||
use tb6612fng::{DriveCommand, Motor, Tb6612fng};
|
||||
use assign_resources::assign_resources;
|
||||
use {defmt_rtt as _, panic_probe as _};
|
||||
|
||||
/// Maximum PWM value (fully on)
|
||||
const PWM_MAX: u16 = 50000;
|
||||
@ -111,4 +111,3 @@ async fn main(_spawner: Spawner) {
|
||||
Timer::after(Duration::from_secs(5)).await;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user