TheAngularity
2537416142
fixed ledstrip warning overlay - line 708 back again
2016-07-20 21:22:30 +02:00
TheAngularity
cfc38960f2
fixed ledstrip warning overlay long dark pause between blinks
2016-07-20 20:46:18 +02:00
TheAngularity
8ecd5e10c8
fixed warning blink with better visualisation
...
used a second black color for better blink effect
2016-07-20 15:42:40 +02: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
99110b2b8b
visual beeper got left out
2016-07-12 19:40:09 +02:00
gaelj
f8906956ad
Fix freeze if LED 0 is color only
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
Martin Budden
3a0f8388ee
Changed tabs to spaces in io/
2016-07-09 13:29:01 +01:00
blckmn
924c891bf1
Update to LED STRIP to use new IO
2016-07-02 14:38:04 +10:00
nathan
e07808e2a8
it builds
2016-06-15 21:02:48 -07:00
sblakemore
2df7e3cefa
Add RTC6705 SPI VTX support
2016-05-31 07:15:37 +10:00
borisbstyle
80e047e651
Fix compile errors in ledstrip.c
2016-05-24 21:59:34 +02:00
borisbstyle
df6d564a9d
Revert "Revert "Added 'ledstrip_visual_beeper' feature.""
...
This reverts commit f8aefc9c6f
.
2016-05-24 14:05:52 +02:00
borisbstyle
f8aefc9c6f
Revert "Added 'ledstrip_visual_beeper' feature."
...
This reverts commit d6e7ed3560
.
2016-05-24 10:46:23 +02:00
Michael Keller
d6e7ed3560
Added 'ledstrip_visual_beeper' feature.
...
Added build condition for LED strip related config option.
Added 'ledstrip_visual_beeper' feature.
Added build condition for LED strip related config option.
2016-05-17 08:46:21 +12:00
Larry (TBS)
1531c07687
- Add defulat LED Strip values for Colibri Race
2016-04-22 16:40:37 +08:00
borisbstyle
3a156f98ab
Fix LED_STRIP feature // Add DMA drivers // UART fixes
2016-02-10 22:36:05 +01:00
DarkVegetableMatter
942c89237e
Battery auto-detect and LPF for battery monitoring
2015-08-04 03:04:12 +01:00
Dominic Clifton
b794e263e8
Fix compiler errors for old led animation code.
2015-07-17 01:05:14 -07:00
Michael Hope
5c6760fd82
various: tidy up various things found when building with a C++ compiler.
...
Remove duplicate consts.
Pull in the include files where functions and variables are declared.
Mark file local but duplicated variables as static.
Mark some variable declarations as extern.
Remove duplicated variable definition.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-04 22:32:31 +02:00
Dominic Clifton
c8c0c85656
First-cut of a refactored failsafe system.
...
* fixes issue where indicators would flash when SBus RX entered failsafe
mode.
* fixes bug where turning off a TX for an SBus RX would instantly disarm
when using a switch to arm when the channel went outside the arming
range.
* introduces failsafe phases to make the system more understandable.
* allows the system to ask if rxSignalIsBeing received for all RX
systems: PPM/PWM/SerialRX/MSP. Also works when a serial data signal is
still being received but the data stream indicates a failsafe condition
- e.g. SBus failsafe flags.
* failsafe settings are no-longer per-profile.
Untested: Sumd/Sumh/XBus/MSP (!)
Tested: SBus X8R, Lemon RX Sat, X8R in PWM, Spektrum PPM.
2015-04-16 01:31:12 +01:00
Dominic Clifton
e40a3663d2
Remove failsafe vtable usage.
2015-03-09 23:19:21 +01:00
Dominic Clifton
5512ff08c3
Allow thrust color to be combined with throttle.
2015-02-01 18:34:37 +00:00
Dominic Clifton
55cac2bdeb
Finally rename flight.c/.h to pid.c/.h. Cleanup some dependencies.
...
Relocate more code.
2015-02-01 00:39:38 +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
3fc7f32324
Merge branch 'imu-cleanup' of https://github.com/avoid3d/cleanflight into avoid3d-imu-cleanup
2015-01-25 01:00:14 +01:00
Pierre Hugo
be03ed95fa
Renamed min, max and abs macros to MIN MAX and ABS.
2015-01-23 22:40:00 -08:00
Dominic Clifton
793f83c438
Remove commented out old code.
2015-01-23 02:13:36 +01:00
Dominic Clifton
9fb1863d74
Update LED ring code to have the documented behavior.
...
The logic is greatly simplified compared to the code in the original
pull request.
2015-01-23 00:06:20 +01:00
Dominic Clifton
b50c5d9724
Simplify and cleanup led ring code.
...
This changes the behaviour, but since the effect is nice we'll mark it
with a commit.
2015-01-22 23:46:23 +01:00
Dominic Clifton
ae752217c6
Avoid static use. Causes problems when the amount of LEDs in the ring
...
is odd.
2015-01-22 22:56:38 +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
Dominic Clifton
a2628c59d5
Cleanup whitespace.
2015-01-22 21:36:05 +01:00
Chris Penny
a6409a030b
LED on/off changes to ledStripEnabled flag
2015-01-21 09:54:27 +00:00
Chris Penny
bfa79ab010
changed ledStripIsOnFlag to ledStripEnabled and ledStripEnabled fail check
2015-01-20 22:43:32 +00:00
Chris Penny
aede4037cf
LED on/off add via LEDLOW mode
2015-01-20 19:51:07 +00:00
Chris Penny
0da650b5bd
changed rc mode to BOXLEDLOW
2015-01-20 10:45:10 +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
ad65722f0e
Code size reduction when led animation is disabled.
2015-01-15 16:53:14 +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
10d507ccc6
LedStrip failsafe warning now correctly checks that the feature is
...
enabled.
2014-12-28 00:49:57 +00:00
Dominic Clifton
367eb79bd0
Add battery warning beeper. Update MSP_MISC/MSP_SET_MISC.
...
Note the old beeper was essentially 'battery critical'.
2014-12-19 22:16:47 +00:00
Dominic Clifton
d41e8631ee
Disable and cleanup some debug output.
2014-11-26 00:28:53 +00:00
Dominic Clifton
386c14c9e7
Update LedStrip warnings indication so it's clearer what warnings are
...
active.
This also has better performance, warning colors are only calculated
once per led strip update cycle.
2014-11-22 18:18:50 +00:00
Dominic Clifton
45218357fa
Narrow LED strip indicator deadband so that indicators are displayed for
...
smaller pitch/roll input movements.
2014-10-29 01:05:01 +00:00
Dominic Clifton
7d4abb8a4a
Add parenthesis to expressions to imrove code clarity and remove IDE
...
warning.
2014-09-29 01:11:00 +01:00
Dominic Clifton
10abdd3afa
Update warning mode leds to show when arming is disabled.
...
Idea and initial implementation by viktor80. Closes #96 .
2014-09-27 00:34:02 +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