Make software compatible with commonsense-hw
This commit is contained in:
@@ -11,7 +11,7 @@ use nrf_softdevice::{raw, Softdevice};
|
||||
#[embassy_executor::main]
|
||||
async fn main(_spawner: Spawner) {
|
||||
let p = embassy_nrf::init(Default::default());
|
||||
let mut led = Output::new(p.P0_18, Level::Low, OutputDrive::Standard);
|
||||
let mut led = Output::new(p.P0_20, Level::Low, OutputDrive::Standard);
|
||||
|
||||
info!("Starting blinky");
|
||||
|
||||
@@ -20,6 +20,7 @@ async fn main(_spawner: Spawner) {
|
||||
Timer::after_millis(300).await;
|
||||
led.set_low();
|
||||
Timer::after_millis(300).await;
|
||||
info!("Blinked");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user