From 70c013218af24459e551180685a45fe12edd6298 Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Tue, 30 Jul 2024 14:50:14 -0400 Subject: [PATCH] Update pins for the realities of the board layout --- bike-lights/bike/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bike-lights/bike/src/main.rs b/bike-lights/bike/src/main.rs index a6e9d7f..8bd6779 100644 --- a/bike-lights/bike/src/main.rs +++ b/bike-lights/bike/src/main.rs @@ -193,10 +193,10 @@ fn main() -> ! { embedded_hal::spi::MODE_1, ); - let left_blinker_button = pins.gpio18.into_pull_up_input(); - let right_blinker_button = pins.gpio19.into_pull_up_input(); - let previous_animation_button = pins.gpio20.into_pull_up_input(); - let next_animation_button = pins.gpio21.into_pull_up_input(); + let left_blinker_button = pins.gpio17.into_pull_up_input(); + let right_blinker_button = pins.gpio16.into_pull_up_input(); + let previous_animation_button = pins.gpio27.into_pull_up_input(); + let next_animation_button = pins.gpio26.into_pull_up_input(); let ui = BikeUI::new( spi,