1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00
Commit graph

40 commits

Author SHA1 Message Date
Martin Budden
d2ac5d84b1 Preparation for conversion to parameter groups 7 2017-02-16 21:28:29 +00:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
blckmn
565b8e4846 Updated LED config defaults for Colibri Race 2016-12-31 08:31:38 +11:00
Michael Jakob
46387c9dbe Cleanup ENUM usage 2016-12-04 16:09:21 +01:00
Martin Budden
8d3c825646 Converted currentTime to currentTimeUs 2016-12-01 20:00:44 +00:00
blckmn
18decaf436 Remaining LED strip driver issues resolved. 2016-11-07 05:56:27 +11:00
blckmn
a01a71cddb As per @martinbudden suggestion including io_types.h only, and fixed osd.c master config changes 2016-11-05 17:53:43 +11:00
blckmn
e56f915018 Moving LED strip to be configurable via resource command 2016-11-05 13:35:20 +11:00
gaelj
431295ab21 Enable using of any RC channel to set the color hue modifier.
Can be set via MSP (bumped to version 22)
New CLI command: mode_color 7 0 AUX_Channel
AUX_Channel:
    ROLL = 0
    PITCH = 1
    YAW = 2
    THROTTLE = 3
    AUX1 = 4
    AUX2 = 5
    AUX3 = 6
    AUX4 = 7
    AUX5 = 8
    AUX6 = 9
    AUX7 = 10
    AUX8 = 11

Fixed CLI defaults printing for #1019.
2016-10-28 11:31:16 +13:00
Martin Budden
c0d87ca657 Improved consistency of update fn naming. GPS update tidy. 2016-10-16 08:18:03 +01:00
Anders Hoglund
15e24e2015 Removed not needed fwd declaraions and includes. 2016-10-09 21:26:17 +02:00
Anders Hoglund
44abc8f2e4 Clean up vtx.c includes, move all not directly used to where they belong. 2016-10-09 21:26:17 +02:00
Martin Budden
3fa5669c7c Removed rssi extern from .c files 2016-10-02 16:29:07 +01:00
Martin Budden
2f9ca4355c currentTime passed in scheduler task call 2016-09-17 16:01:37 +01:00
mikeller
fe0a8d602e Added default value display for CLI dump / diff. 2016-08-18 11:17:01 +12:00
borisbstyle
ddf1f80b48 Revert "Revert "Betaflight led strip resubmit""
This reverts commit 63c7ae18ff.
2016-07-18 09:19:13 +02:00
borisbstyle
63c7ae18ff Revert "Betaflight led strip resubmit" 2016-07-16 11:24:05 +02:00
gaelj
59632f472f MSP to 20 + typo
Set MSP to 20
Fix typo in reevaluateLedConfig
2016-07-12 19:40:09 +02:00
gaelj
aab0a56068 CF new LED strip port
Requires configurator update.

LED strip Cleanup.
New LED functions:
- GPS (G)
- Battery (L)
- RSSI (S)
- Larson Scanner (O)
- Blink (B)
- Blink on landing (N)

Mode colors and special colors are configurable (mode_color in CLI, MSP_LED_STRIP_MODECOLOR & MSP_SET_LED_STRIP_MODECOLOR)
2016-07-12 19:40:08 +02:00
blckmn
924c891bf1 Update to LED STRIP to use new IO 2016-07-02 14:38:04 +10:00
borisbstyle
3a156f98ab Fix LED_STRIP feature // Add DMA drivers // UART fixes 2016-02-10 22:36:05 +01:00
Dominic Clifton
52f082fcd7 LedStrip - Add support for solid colors. Update default LED strip
configuration to include a ring.

Also includes documentation updates that were not updated when ring
support was added.
2015-01-25 16:21:38 +01:00
Dominic Clifton
839b8408ea Fix LED strip mask for LED ring function. 2015-01-23 01:18:32 +01:00
St7ven
ddc7a39fa2 Add support for LED thrust ring. (St7ven)
This commit includes various fixed not included in the original pull request.
2015-01-22 22:20:00 +01:00
Dominic Clifton
d2536e3792 Ensure LED configuration is re-evaluated after changes to led
configuration are made via MSP.
2015-01-22 21:38:09 +01:00
Chris Penny
bfa79ab010 changed ledStripIsOnFlag to ledStripEnabled and ledStripEnabled fail check 2015-01-20 22:43:32 +00:00
chris-penny
48bd7c1e19 I hope this is along the right lines... I have it running on NAZE32 ACRO
it is using the BOXLLIGHTS at the moment but I'll update it to use
BOXLEDLOW asap
2015-01-19 22:53:02 +00:00
Dominic Clifton
30b928c0bc Cleanup unit test compiler flags. Fix compiler warnings in unit test
and related code.
2015-01-14 15:09:29 +00:00
Dominic Clifton
6f3aa6fb86 Add extra MSP commands to allow settings to be made via a GUI in
addition to setting via the CLI.

Note: MSP_CONFIG from baseflight
bc68d89983d762d35cc1cf5e3fa0c2cf03287b70 will not be supported because
more specific commands exist in cleanflight.

MSP_MISC and MSP_CONFIG are good examples of single responsibility
violations.
2014-10-17 01:33:47 +01:00
Dominic Clifton
6883a8f2a7 Fix led cli command when led strip feature is not enabled. Fixes #95. 2014-09-27 00:14:04 +01:00
Dominic Clifton
d904741f43 Update LED throttle mode to use rcData instead of rcThrottle, avoid
having to reference min/maxThrottle.

Range was not being calculated correctly.

Throttle color now blends with the current color of the LED so that at
mid throttle any orientation color is still correct when mixing Throttle
and Flight Mode on an LED.

Fix tabs.  Reduce nesting level.
2014-09-19 01:46:41 +01:00
Dominic Clifton
9723df947e Merge pull request #83 from goebish/cleanflight-throttle-led
Throttle level indicator led mode
2014-09-19 00:18:55 +01:00
Goebish
16871c7a91 Merge remote-tracking branch 'cleanflight/master' into cleanflight-throttle-led 2014-09-19 01:10:21 +02:00
Goebish
b83e7b42b7 Add throttle level indicator led mode 2014-09-19 01:09:59 +02:00
Dominic Clifton
72eac8048a Allow colors to be configurable via the cli.
color x h,s,v

x = 0-15
h = 0-359
s = 0-255
v = 0-255
2014-09-19 00:08:40 +01:00
Dominic Clifton
545980c14a Move colors from ram to master config. Initialise colors only when
config is reset to defaults.
2014-09-18 22:53:12 +01:00
Dominic Clifton
d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton
a287f9247d Allow led strip to show failsafe state. Closes #76. 2014-09-15 23:24:08 +01:00
Dominic Clifton
6ce5736990 Update LED strip code to allow configurable LED strips.
See documentation for details.
2014-09-15 03:15:11 +01:00
Dominic Clifton
1730e3dfd3 Relocated led strip user code into separate file.
Added documentation.

Added LED_STRIP feature, can only be enabled under certain circumstances
depending on target due to pin/timer mappings - see documentation.
2014-06-09 19:11:31 +01:00