Skip to content

Commit

Permalink
Use breathe pattern for setup LEDs
Browse files Browse the repository at this point in the history
  • Loading branch information
mlists committed Mar 14, 2024
1 parent 7018e8f commit 0d54c4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/led.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,16 @@ def rainbow(self) -> None:
self.pattern = Rainbow(HsvColour.RED)

def invalid_start(self) -> None:
self.pattern = Flash(HsvColour.RED)
self.pattern = Breathe(HsvColour.RED)

def missing_start_pose(self) -> None:
self.pattern = Flash(HsvColour.CYAN)
self.pattern = Breathe(HsvColour.CYAN)

def no_vision(self) -> None:
self.pattern = Flash(HsvColour.ORANGE)
self.pattern = Breathe(HsvColour.ORANGE)

def too_close_to_stage(self) -> None:
self.pattern = Flash(HsvColour.MAGENTA)
self.pattern = Breathe(HsvColour.MAGENTA)

def disabled(self) -> None:
self.pattern = Solid(HsvColour.OFF)
Expand Down

0 comments on commit 0d54c4f

Please sign in to comment.