Skip to content

Commit

Permalink
Merge pull request #192 from thedropbears/led-breathe
Browse files Browse the repository at this point in the history
Use breathe pattern for setup LEDs
  • Loading branch information
mlists authored Mar 14, 2024
2 parents 7018e8f + 0d54c4f commit f67e1c2
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 f67e1c2

Please sign in to comment.