Compare commits

..

1 Commits

Author SHA1 Message Date
e1b7b3870e Rotating blinky 2025-10-19 18:59:32 +02:00

View File

@@ -117,14 +117,14 @@ impl Leds {
pub fn for_direction(&mut self, direction: &Direction) -> &mut Led {
match direction {
Direction::North => &mut self.ld3,
Direction::NorthEast => &mut self.ld5,
Direction::East => &mut self.ld7,
Direction::North => &mut self.ld3, // done
Direction::NorthEast => &mut self.ld5, // done
Direction::East => &mut self.ld7, // done
Direction::SouthEast => &mut self.ld9,
Direction::South => &mut self.ld10,
Direction::SouthWest => &mut self.ld8,
Direction::West => &mut self.ld6,
Direction::NorthWest => &mut self.ld4,
Direction::South => &mut self.ld8,
Direction::SouthWest => &mut self.ld10,
Direction::West => &mut self.ld6, // done
Direction::NorthWest => &mut self.ld4, // done
}
}
}