An applicaiton and simulator for a bike lighting system #245
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue