Add S132 softevice and instructions
This commit is contained in:
@@ -6,6 +6,7 @@ use embassy_executor::Spawner;
|
||||
use embassy_nrf::gpio::{Level, Output, OutputDrive};
|
||||
use embassy_time::Timer;
|
||||
use {defmt_rtt as _, panic_probe as _};
|
||||
use nrf_softdevice::{raw, Softdevice};
|
||||
|
||||
#[embassy_executor::main]
|
||||
async fn main(_spawner: Spawner) {
|
||||
@@ -13,7 +14,7 @@ async fn main(_spawner: Spawner) {
|
||||
let mut led = Output::new(p.P0_18, Level::Low, OutputDrive::Standard);
|
||||
|
||||
info!("Starting blinky");
|
||||
|
||||
|
||||
loop {
|
||||
led.set_high();
|
||||
Timer::after_millis(300).await;
|
||||
|
||||
Reference in New Issue
Block a user