From ac74702a081e3dfd97d70e4df3128097e571b429 Mon Sep 17 00:00:00 2001 From: RubenB-ITENG <94007802+ruben-iteng@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:17:28 +0200 Subject: [PATCH] Library: LED: More colors (#49) More colors --- src/faebryk/library/LED.py | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/faebryk/library/LED.py b/src/faebryk/library/LED.py index 2d9c0749..32e280c7 100644 --- a/src/faebryk/library/LED.py +++ b/src/faebryk/library/LED.py @@ -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]