Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Library: LED: More colors (#49)
Browse files Browse the repository at this point in the history
More colors
  • Loading branch information
ruben-iteng authored Sep 11, 2024
1 parent 627b654 commit ac74702
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion src/faebryk/library/LED.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,34 @@

class LED(F.Diode):
class Color(Enum):
# Primary Colors
RED = auto()
EMERALD = auto()
GREEN = auto()
BLUE = auto()

# Secondary and Mixed Colors
YELLOW = auto()
ORANGE = auto()
PURPLE = auto()
CYAN = auto()
MAGENTA = auto()

# Shades of White
WHITE = auto()
WARM_WHITE = auto()
COLD_WHITE = auto()
NATURAL_WHITE = auto()

# Other Colors
EMERALD = auto()
AMBER = auto()
PINK = auto()
LIME = auto()
VIOLET = auto()

# Specific LED Colors
ULTRA_VIOLET = auto()
INFRA_RED = auto()

brightness: F.TBD[Quantity]
max_brightness: F.TBD[Quantity]
Expand Down

0 comments on commit ac74702

Please sign in to comment.