Update pins for the realities of the board layout
This commit is contained in:
parent
37c7e04820
commit
70c013218a
|
@ -193,10 +193,10 @@ fn main() -> ! {
|
||||||
embedded_hal::spi::MODE_1,
|
embedded_hal::spi::MODE_1,
|
||||||
);
|
);
|
||||||
|
|
||||||
let left_blinker_button = pins.gpio18.into_pull_up_input();
|
let left_blinker_button = pins.gpio17.into_pull_up_input();
|
||||||
let right_blinker_button = pins.gpio19.into_pull_up_input();
|
let right_blinker_button = pins.gpio16.into_pull_up_input();
|
||||||
let previous_animation_button = pins.gpio20.into_pull_up_input();
|
let previous_animation_button = pins.gpio27.into_pull_up_input();
|
||||||
let next_animation_button = pins.gpio21.into_pull_up_input();
|
let next_animation_button = pins.gpio26.into_pull_up_input();
|
||||||
|
|
||||||
let ui = BikeUI::new(
|
let ui = BikeUI::new(
|
||||||
spi,
|
spi,
|
||||||
|
|
Loading…
Reference in New Issue