feat: changed the pins

This commit is contained in:
2026-06-26 18:54:00 +02:00
parent 1848a32631
commit 422fb2a47a
3 changed files with 47 additions and 45 deletions
+2 -2
View File
@@ -34,8 +34,6 @@ fn main() -> ! {
display.print("Hello Pico");
let mut traffic_controller = TrafficController::new(
pins.gpio0,
pins.gpio1,
pins.gpio2,
pins.gpio3,
pins.gpio4,
@@ -46,6 +44,8 @@ fn main() -> ! {
pins.gpio9,
pins.gpio10,
pins.gpio11,
pins.gpio12,
pins.gpio13,
);
traffic_controller.phase_start = timer.get_counter().ticks();
traffic_controller.apply_phase(&PHASES[0]);