From aed170f1a9827abfea24ba5fe88f1cf3ce7416e0 Mon Sep 17 00:00:00 2001 From: Brnadon Miller Date: Mon, 2 Mar 2015 18:03:15 -0500 Subject: [PATCH 1/3] Add table for LED Strip Colors --- docs/LedStrip.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/docs/LedStrip.md b/docs/LedStrip.md index df0373ea8..4751c815d 100644 --- a/docs/LedStrip.md +++ b/docs/LedStrip.md @@ -163,6 +163,51 @@ The mapping between modes led placement and colors is currently fixed and cannot This mode flashes LEDs that correspond to roll and pitch stick positions. i.e. they indicate the direction the craft is going to turn. +| Mode | Direction | LED Color | Notes | +|------------|--------|---------------------|---------------| +|Orientation | North | COLOR_WHITE | | +|Orientation | East | COLOR_DARK_VIOLET | | +|Orientation | South | COLOR_RED | | +|Orientation | West | COLOR_DEEP_PINK | | +|Orientation | Up | COLOR_BLUE | | +|Orientation | Down | COLOR_ORANGE | | + +|Head Free | North | | | +|Head Free | East | | | +|Head Free | South | | | +|Head Free | West | | | +|Head Free | Up | | | +|Head Free | Down | | | + +|Horizon | North | | | +|Horizon | East | | | +|Horizon | South | | | +|Horizon | West | | | +|Horizon | Up | | | +|Horizon | Down | | | + +|Angle | North | | | +|Angle | East | | | +|Angle | South | | | +|Angle | West | | | +|Angle | Up | | | +|Angle | Down | | | + +|Mag | North | | | +|Mag | East | | | +|Mag | South | | | +|Mag | West | | | +|Mag | Up | | | +|Mag | Down | | | + +|Baro | North | | | +|Baro | East | | | +|Baro | South | | | +|Baro | West | | | +|Baro | Up | | | +|Baro | Down | | | + + #### Armed state This mode toggles LEDs between green and blue when disarmed and armed, respectively. From e5f23669c0be37a40fb0a5a165cbbd29f6d601e0 Mon Sep 17 00:00:00 2001 From: Brnadon Miller Date: Mon, 2 Mar 2015 18:12:01 -0500 Subject: [PATCH 2/3] Added documentation for predefined light colors for orientation and flight modes --- docs/LedStrip.md | 87 ++++++++++++++++++++++++------------------------ 1 file changed, 43 insertions(+), 44 deletions(-) diff --git a/docs/LedStrip.md b/docs/LedStrip.md index 4751c815d..083315069 100644 --- a/docs/LedStrip.md +++ b/docs/LedStrip.md @@ -163,50 +163,49 @@ The mapping between modes led placement and colors is currently fixed and cannot This mode flashes LEDs that correspond to roll and pitch stick positions. i.e. they indicate the direction the craft is going to turn. -| Mode | Direction | LED Color | Notes | -|------------|--------|---------------------|---------------| -|Orientation | North | COLOR_WHITE | | -|Orientation | East | COLOR_DARK_VIOLET | | -|Orientation | South | COLOR_RED | | -|Orientation | West | COLOR_DEEP_PINK | | -|Orientation | Up | COLOR_BLUE | | -|Orientation | Down | COLOR_ORANGE | | - -|Head Free | North | | | -|Head Free | East | | | -|Head Free | South | | | -|Head Free | West | | | -|Head Free | Up | | | -|Head Free | Down | | | - -|Horizon | North | | | -|Horizon | East | | | -|Horizon | South | | | -|Horizon | West | | | -|Horizon | Up | | | -|Horizon | Down | | | - -|Angle | North | | | -|Angle | East | | | -|Angle | South | | | -|Angle | West | | | -|Angle | Up | | | -|Angle | Down | | | - -|Mag | North | | | -|Mag | East | | | -|Mag | South | | | -|Mag | West | | | -|Mag | Up | | | -|Mag | Down | | | - -|Baro | North | | | -|Baro | East | | | -|Baro | South | | | -|Baro | West | | | -|Baro | Up | | | -|Baro | Down | | | - +| Mode | Direction | LED Color | +|------------|--------|---------------------| +|Orientation | North | COLOR_WHITE | +|Orientation | East | COLOR_DARK_VIOLET | +|Orientation | South | COLOR_RED | +|Orientation | West | COLOR_DEEP_PINK | +|Orientation | Up | COLOR_BLUE | +|Orientation | Down | COLOR_ORANGE | +| | | | +|Head Free | North | COLOR_LIME_GREEN | +|Head Free | East | COLOR_DARK_VIOLET | +|Head Free | South | COLOR_ORANGE | +|Head Free | West | COLOR_DEEP_PINK | +|Head Free | Up | COLOR_BLUE | +|Head Free | Down | COLOR_ORANGE | +| | | | +|Horizon | North | COLOR_BLUE | +|Horizon | East | COLOR_DARK_VIOLET | +|Horizon | South | COLOR_YELLOW | +|Horizon | West | COLOR_DEEP_PINK | +|Horizon | Up | COLOR_BLUE | +|Horizon | Down | COLOR_ORANGE | +| | | | +|Angle | North | COLOR_CYAN | +|Angle | East | COLOR_DARK_VIOLET | +|Angle | South | COLOR_YELLOW | +|Angle | West | COLOR_DEEP_PINK | +|Angle | Up | COLOR_BLUE | +|Angle | Down | COLOR_ORANGE | +| | | | +|Mag | North | COLOR_MINT_GREEN | +|Mag | East | COLOR_DARK_VIOLET | +|Mag | South | COLOR_ORANGE | +|Mag | West | COLOR_DEEP_PINK | +|Mag | Up | COLOR_BLUE | +|Mag | Down | COLOR_ORANGE | +| | | | +|Baro | North | COLOR_LIGHT_BLUE | +|Baro | East | COLOR_DARK_VIOLET | +|Baro | South | COLOR_RED | +|Baro | West | COLOR_DEEP_PINK | +|Baro | Up | COLOR_BLUE | +|Baro | Down | COLOR_ORANGE | #### Armed state From 7366ecf60b032b09cf041ed42a297e9425dcde46 Mon Sep 17 00:00:00 2001 From: Brnadon Miller Date: Thu, 5 Mar 2015 11:47:41 -0500 Subject: [PATCH 3/3] Updated for colors in plain English. --- docs/LedStrip.md | 72 ++++++++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/docs/LedStrip.md b/docs/LedStrip.md index 083315069..a2f75b1a6 100644 --- a/docs/LedStrip.md +++ b/docs/LedStrip.md @@ -165,47 +165,47 @@ This mode flashes LEDs that correspond to roll and pitch stick positions. i.e. | Mode | Direction | LED Color | |------------|--------|---------------------| -|Orientation | North | COLOR_WHITE | -|Orientation | East | COLOR_DARK_VIOLET | -|Orientation | South | COLOR_RED | -|Orientation | West | COLOR_DEEP_PINK | -|Orientation | Up | COLOR_BLUE | -|Orientation | Down | COLOR_ORANGE | +|Orientation | North | WHITE | +|Orientation | East | DARK VIOLET | +|Orientation | South | RED | +|Orientation | West | DEEP PINK | +|Orientation | Up | BLUE | +|Orientation | Down | ORANGE | | | | | -|Head Free | North | COLOR_LIME_GREEN | -|Head Free | East | COLOR_DARK_VIOLET | -|Head Free | South | COLOR_ORANGE | -|Head Free | West | COLOR_DEEP_PINK | -|Head Free | Up | COLOR_BLUE | -|Head Free | Down | COLOR_ORANGE | +|Head Free | North | LIME GREEN | +|Head Free | East | DARK VIOLET | +|Head Free | South | ORANGE | +|Head Free | West | DEEP PINK | +|Head Free | Up | BLUE | +|Head Free | Down | ORANGE | | | | | -|Horizon | North | COLOR_BLUE | -|Horizon | East | COLOR_DARK_VIOLET | -|Horizon | South | COLOR_YELLOW | -|Horizon | West | COLOR_DEEP_PINK | -|Horizon | Up | COLOR_BLUE | -|Horizon | Down | COLOR_ORANGE | +|Horizon | North | BLUE | +|Horizon | East | DARK VIOLET | +|Horizon | South | YELLOW | +|Horizon | West | DEEP PINK | +|Horizon | Up | BLUE | +|Horizon | Down | ORANGE | | | | | -|Angle | North | COLOR_CYAN | -|Angle | East | COLOR_DARK_VIOLET | -|Angle | South | COLOR_YELLOW | -|Angle | West | COLOR_DEEP_PINK | -|Angle | Up | COLOR_BLUE | -|Angle | Down | COLOR_ORANGE | +|Angle | North | CYAN | +|Angle | East | DARK VIOLET | +|Angle | South | YELLOW | +|Angle | West | DEEP PINK | +|Angle | Up | BLUE | +|Angle | Down | ORANGE | | | | | -|Mag | North | COLOR_MINT_GREEN | -|Mag | East | COLOR_DARK_VIOLET | -|Mag | South | COLOR_ORANGE | -|Mag | West | COLOR_DEEP_PINK | -|Mag | Up | COLOR_BLUE | -|Mag | Down | COLOR_ORANGE | +|Mag | North | MINT GREEN | +|Mag | East | DARK VIOLET | +|Mag | South | ORANGE | +|Mag | West | DEEP PINK | +|Mag | Up | BLUE | +|Mag | Down | ORANGE | | | | | -|Baro | North | COLOR_LIGHT_BLUE | -|Baro | East | COLOR_DARK_VIOLET | -|Baro | South | COLOR_RED | -|Baro | West | COLOR_DEEP_PINK | -|Baro | Up | COLOR_BLUE | -|Baro | Down | COLOR_ORANGE | +|Baro | North | LIGHT BLUE | +|Baro | East | DARK VIOLET | +|Baro | South | RED | +|Baro | West | DEEP PINK | +|Baro | Up | BLUE | +|Baro | Down | ORANGE | #### Armed state