mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-10 08:15:36 +00:00
Update down-the-stack/dk_bsc/src/lib_solution.rs
Co-authored-by: Jonathan Pallant <jonathan.pallant@ferrous-systems.com>
This commit is contained in:
parent
89ee72eb49
commit
274767bc51
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ pub fn init() -> Result<Board, ()> {
|
||||||
let led_3 = pins.p0_15.degrade().into_push_pull_output(Level::High);
|
let led_3 = pins.p0_15.degrade().into_push_pull_output(Level::High);
|
||||||
let led_4 = pins.p0_16.degrade().into_push_pull_output(Level::High);
|
let led_4 = pins.p0_16.degrade().into_push_pull_output(Level::High);
|
||||||
|
|
||||||
// 🔽 --- Exercise Button --- 🔽
|
// 🔽 --- Button Exercise --- 🔽
|
||||||
// Buttons
|
// Buttons
|
||||||
let b_1 = pins.p0_11.degrade().into_pullup_input();
|
let b_1 = pins.p0_11.degrade().into_pullup_input();
|
||||||
let b_2 = pins.p0_12.degrade().into_pullup_input();
|
let b_2 = pins.p0_12.degrade().into_pullup_input();
|
||||||
|
|
Loading…
Reference in a new issue