Enable the brake sensor #248

Merged
savanni merged 2 commits from bike-lights__enable_brakes into main 2024-09-16 03:58:54 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 81d452694d - Show all commits

View File

@ -209,8 +209,8 @@ fn main() -> ! {
embedded_hal::spi::MODE_1, embedded_hal::spi::MODE_1,
); );
let left_blinker_button = pins.gpio17.into_pull_up_input(); let left_blinker_button = pins.gpio16.into_pull_up_input();
let right_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 previous_animation_button = pins.gpio27.into_pull_up_input();
let next_animation_button = pins.gpio26.into_pull_up_input(); let next_animation_button = pins.gpio26.into_pull_up_input();
let brake_sensor = pins.gpio18.into_pull_up_input(); let brake_sensor = pins.gpio18.into_pull_up_input();