An applicaiton and simulator for a bike lighting system #245

Merged
savanni merged 16 commits from bike-lights into main 2024-08-01 01:32:29 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit 70c013218a - Show all commits

View File

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