This commit is contained in:
rafael 2024-10-21 12:19:10 +02:00
parent d7db8fbab9
commit d92fb002ec
2 changed files with 2 additions and 6 deletions

View File

@ -13,7 +13,6 @@ use embassy_rp::block::ImageDef;
use embassy_rp::peripherals::{PIN_25, PIN_4, PWM_SLICE2, PWM_SLICE4};
use embassy_rp::pwm::{Config, Pwm, SetDutyCycle};
use embassy_time::Timer;
// use embedded_hal_1::pwm::SetDutyCycle;
use {defmt_rtt as _, panic_probe as _};
#[link_section = ".start_block"]

View File

@ -10,12 +10,9 @@ 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::pwm;
use embassy_time::Duration;
use embassy_time::Timer;
use embassy_rp::{gpio, peripherals, pwm};
use embassy_time::{Duration, Timer};
use tb6612fng::{DriveCommand, Motor, Tb6612fng};
use {defmt_rtt as _, panic_probe as _};