generated from betaflight/template
-
-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix up LED presets to work with changes to LED race mode (#427)
* fix up LED presets to work with changes to LED race mode These presets allow you to set your LED colours via your VTX channel and change when you change channel. Behaviour was changed with this pr betaflight/betaflight#13096 (comment) * Update LED VTX race mode.txt removed warning as its not needed * Update presets/4.5/leds/quaddiction_tinytrainer.txt
- Loading branch information
Showing
3 changed files
with
144 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
#$ TITLE: RACE mode LED settings | ||
#$ FIRMWARE_VERSION: 4.5 | ||
#$ CATEGORY: LEDS | ||
#$ STATUS: OFFICIAL | ||
#$ KEYWORDS: leds, race, vtx, colour change, sugarK, spec, spec racing, tinytrainer | ||
#$ AUTHOR: sugarK | ||
|
||
#$ DESCRIPTION: Sets LED settings to change colours when VTX channel is changed. | ||
#$ DESCRIPTION: This preset is required with HDzero VTX firmware 1.30 and above. See BF PR here https://github.com/betaflight/betaflight/pull/13096 | ||
#$ DESCRIPTION: | ||
|
||
|
||
#--- Set up Race mode --- | ||
|
||
set ledstrip_profile = RACE | ||
set ledstrip_race_color = BLACK | ||
|
||
|
||
# --- Set LED --- | ||
|
||
#$ OPTION_GROUP BEGIN: Set up number of LEDS | ||
|
||
#$ OPTION BEGIN (UNCHECKED): Set 2 LEDs | ||
led 0 2,3::COV:1 | ||
led 1 3,3::COV:1 | ||
#$ OPTION END | ||
|
||
#$ OPTION BEGIN (UNCHECKED): Set 4 LEDs | ||
led 0 2,3::COV:1 | ||
led 1 3,3::COV:1 | ||
led 2 4,3::COV:1 | ||
led 3 5,3::COV:1 | ||
#$ OPTION END | ||
|
||
#$ OPTION BEGIN (UNCHECKED): Set 8 LEDs | ||
led 0 2,3::COV:1 | ||
led 1 3,3::COV:1 | ||
led 2 4,3::COV:1 | ||
led 3 5,3::COV:1 | ||
led 4 6,3::COV:1 | ||
led 5 7,3::COV:1 | ||
led 6 8,3::COV:1 | ||
led 7 7,5::COV:1 | ||
#$ OPTION END | ||
|
||
#$ OPTION BEGIN (UNCHECKED): Set 8 LEDs | ||
led 0 2,3::COV:1 | ||
led 1 3,3::COV:1 | ||
led 2 4,3::COV:1 | ||
led 3 5,3::COV:1 | ||
led 4 6,3::COV:1 | ||
led 5 7,3::COV:1 | ||
led 6 8,3::COV:1 | ||
led 7 7,5::COV:1 | ||
#$ OPTION END | ||
|
||
#$ OPTION BEGIN (UNCHECKED): Set 16 LEDs | ||
led 0 2,3::COV:1 | ||
led 1 3,3::COV:1 | ||
led 2 4,3::COV:1 | ||
led 4 6,3::COV:1 | ||
led 5 7,3::COV:1 | ||
led 6 8,3::COV:1 | ||
led 7 7,5::COV:1 | ||
led 8 8,6::COV:1 | ||
led 9 9,7::COV:1 | ||
led 10 10,8::COV:1 | ||
led 11 11,9::COV:1 | ||
led 12 12,10::COV:1 | ||
led 13 13,11::COV:1 | ||
led 14 14,12::COV:1 | ||
led 15 15,13::COV:1 | ||
#$ OPTION END | ||
#$ OPTION_GROUP END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
#$ TITLE: Quaddiction TinyTrainer LED settings | ||
#$ FIRMWARE_VERSION: 4.5 | ||
#$ CATEGORY: LEDS | ||
#$ STATUS: OFFICIAL | ||
#$ KEYWORDS: leds, 533, five33, quaddiction, sugarK, spec, spec racing, tinytrainer, tiny | ||
#$ AUTHOR: sugarK | ||
|
||
#$ DESCRIPTION: Sets LED settings to suit used VTX channels used by the Quaddiction TinyTrainer spec team | ||
#$ DESCRIPTION: This preset is required with HDzero VTX firmware 1.30 and above. See BF PR here https://github.com/betaflight/betaflight/pull/13096 | ||
#$ DESCRIPTION: | ||
|
||
|
||
#--- Set up Race mode --- | ||
|
||
set ledstrip_profile = RACE | ||
set ledstrip_race_color = BLACK | ||
|
||
|
||
# --- LED Designations --- | ||
|
||
led 0 2,3::COV:1 | ||
led 1 3,3::COV:1 | ||
led 2 4,3::COV:1 | ||
led 3 5,3::COV:1 | ||
led 4 6,3::COV:1 | ||
led 5 7,3::COV:1 | ||
led 6 8,3::COV:1 | ||
led 7 7,5::COV:1 | ||
led 8 8,6::COV:1 | ||
led 9 9,7::COV:1 | ||
led 10 10,8::COV:1 | ||
led 11 11,9::COV:1 | ||
led 12 12,10::COV:1 | ||
led 13 13,11::COV:1 | ||
led 14 14,12::COV:1 | ||
|
||
|
||
# --- Color Tables --- | ||
|
||
# color | ||
color 0 0,0,0 | ||
# color 1 red (R1) [<=5672] | ||
color 1 0,0,255 | ||
# color 2 orange (R2) [>5672<=5711] | ||
color 2 21,0,255 | ||
# color 3 green (R3, F1) [>5711<=5750] | ||
color 3 120,0,255 | ||
#color 4 cyan (R4, F2, F3) [>5750<=5789] | ||
color 4 180,0,255 | ||
# color 5 (not in use) | ||
color 5 0,0,0 | ||
# color 6 blue (R5, F4, F5) [>5789<=5829] | ||
color 6 240,0,255 | ||
# color 7 (not in use) | ||
color 7 0,0,255 | ||
# color 8 (not in use) | ||
color 8 0,0,255 | ||
# color 9 (not in use) | ||
color 9 0,0,255 | ||
# color 10 purple (R6, F6, F7) [>5829<=5867] | ||
color 10 275,0,255 | ||
# color 11 yellow (R7, F8) [>5867<=5906] | ||
color 11 50,0,255 | ||
# color 12 (not in use) | ||
color 12 0,0,0 | ||
# color 13 pink (R8) [>5906] | ||
color 13 323,0,255 | ||
color 14 0,0,0 | ||
color 15 0,0,0 |