Update pins for the realities of the board layout

This commit is contained in:
Savanni D'Gerinel 2024-07-30 14:50:14 -04:00
parent 37c7e04820
commit 70c013218a
1 changed files with 4 additions and 4 deletions

View File

@ -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,