use pull-up to ensure we assert the correct change
This commit is contained in:
parent
0bd9a2f094
commit
bea3c5495a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ use {defmt_rtt as _, panic_probe as _};
|
|||
async fn main(_spawner: Spawner) {
|
||||
let p = embassy_nrf::init(Default::default());
|
||||
|
||||
let input = Input::new(p.P0_13, Pull::None);
|
||||
let input = Input::new(p.P0_13, Pull::Up);
|
||||
let mut output = Output::new(p.P0_14, Level::Low, OutputDrive::Standard);
|
||||
|
||||
output.set_low();
|
||||
|
|
Loading…
Add table
Reference in a new issue