From 81d452694d03146673803c4d533f4cc1425d4f4c Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Sun, 15 Sep 2024 23:57:06 -0400 Subject: [PATCH] Reverse the blinker pins --- bike-lights/bike/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bike-lights/bike/src/main.rs b/bike-lights/bike/src/main.rs index f8050b2..2805332 100644 --- a/bike-lights/bike/src/main.rs +++ b/bike-lights/bike/src/main.rs @@ -209,8 +209,8 @@ fn main() -> ! { embedded_hal::spi::MODE_1, ); - let left_blinker_button = pins.gpio17.into_pull_up_input(); - let right_blinker_button = pins.gpio16.into_pull_up_input(); + let left_blinker_button = pins.gpio16.into_pull_up_input(); + let right_blinker_button = pins.gpio17.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 brake_sensor = pins.gpio18.into_pull_up_input();