Dominic Clifton
2f2e1a8d42
Update LEDSTRIP unit test.
...
The recently added throttle mode broke compilation of it.
2014-09-20 01:01:20 +01:00
Dominic Clifton
e847a6347d
Improve speed of LED STRIP code.
...
Shaved about 150us each strip update.
This commit leaves in some timing trace code for the CC3D target, the
results of which can be seen in the debug variables for the sections
being timed.
A later commit will remove/disable the timing code.
2014-09-20 01:00:13 +01:00
Dominic Clifton
36dac872b8
Latest CC3D binary.
2014-09-19 21:55:38 +01:00
Dominic Clifton
9c87b99f5f
CC3D - Add Buzzer support to PA15.
...
See Docs for details.
2014-09-19 21:35:30 +01:00
Dominic Clifton
41ff2e8d0e
CC3D - Add support for battery voltage monitoring on S5_IN.
...
See docs for further details.
2014-09-19 21:16:40 +01:00
Dominic Clifton
f591732aa9
Updated LedStrip docs for new thrust/throttle mode.
2014-09-19 20:16:07 +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
Dominic Clifton
0e2b0ccafd
Adding note regarding color index usage.
2014-09-19 00:15:58 +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
4b06592ce7
Update ledstrip unit test.
2014-09-18 23:04:58 +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
79ea1ac088
Store colors in flash, copy to ram and use from ram. Store mode colors
...
as color ids instead of duplicating the color data.
Later, this will allow configurable colors as the colors can be copied
to the master config and used from that without any ram penalty.
2014-09-18 21:59:37 +01:00
Dominic Clifton
0b4f5804bc
Update led strip code to use HSV instead of RGB.
2014-09-18 20:53:28 +01:00
Dominic Clifton
74156fe18f
Updating RX documentation.
2014-09-18 19:23:32 +01:00
Dominic Clifton
d9d5227af9
Ignore CLI commands that are prefixed with # (comments)
2014-09-18 00:47:43 +01:00
dongie
e51cb447c4
Include version output in cli 'dump'.
...
Conflicts:
src/cli.c
2014-09-18 00:47:43 +01:00
Dominic Clifton
2461169114
Update battery percentage calculation so it calculates a percentage
...
between minimum voltage and maximum voltage instead of 0 and maximum
voltage.
2014-09-17 01:08:52 +01:00
Dominic Clifton
d45432ba5d
Merge branch 'goebish-master_cleanflight'
2014-09-16 13:31:39 +01:00
goebish
9f18ad474b
fix typo preventing rebuild
2014-09-16 13:46:27 +02:00
Dominic Clifton
f7daf5ade2
Add a a configuration section to the OLED display documentation.
2014-09-16 01:48:02 +01:00
Dominic Clifton
46936fc969
Latest binary with configurable LED support and OLED display support.
2014-09-16 01:41:53 +01:00
Dominic Clifton
0d37bcdf5b
Add DISPLAY feature to enable/disable the OLED display. Add ARMED page
...
which is displayed upon arming. Resume page cycling when disarmed.
2014-09-16 01:33:15 +01:00
Dominic Clifton
1790e082fe
Ensure led strip is configured in updateLedStrip method to prevent crash
...
when enabling the feature from the cli.
2014-09-16 00:29:41 +01:00
Dominic Clifton
d60183d91d
Normalize all the line endings
2014-09-15 23:40:17 +01:00
Dominic Clifton
4237370b60
Saving files before refreshing line endings
2014-09-15 23:38:51 +01:00
Dominic Clifton
876cf6bdd7
Merge branch 'master' into oled-ssd1306
...
Conflicts:
src/main/common/printf.c
src/main/main.c
src/main/sensors/initialisation.c
src/main/target/NAZE/target.h
2014-09-15 23:36:17 +01:00
Dominic Clifton
d5cbb9a83a
Update git attributes file
2014-09-15 23:29:53 +01:00
Dominic Clifton
a287f9247d
Allow led strip to show failsafe state. Closes #76 .
2014-09-15 23:24:08 +01:00
Dominic Clifton
e14347bf47
Disable softserial port 2 on Naze and Olimexino targets when SONAR is
...
enabled without RX_PARALLEL_PWM because they use the same pins.
2014-09-15 21:29:17 +01:00
Dominic Clifton
99a296821a
Update default led strip config so there is always an orientation light
...
on at the front when the battery alarm is on.
2014-09-15 20:24:00 +01:00
Dominic Clifton
94623289fd
Fix building of targets that don't define LED_STRIP.
2014-09-15 03:27:37 +01:00
Dominic Clifton
043ed0f0bc
CJMCU - fix flash size to 64k.
2014-09-15 03:23:56 +01:00
Dominic Clifton
9d4bc1aaa0
Improve readability of itoa and _i2a type conversion methods.
2014-09-15 03:21:43 +01:00
Dominic Clifton
460256cc23
Fix typo in led strip documentation.
2014-09-15 03:20:39 +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
3ef769bf7b
Avoid using flash size register on STM31F103 since some chips are
...
manufactured incorrectly. Fixes #71 .
2014-09-14 16:33:32 +01:00
Dominic Clifton
e3ea15f3dc
Fix various minor IDE warnings.
2014-09-14 16:33:32 +01:00
Dominic Clifton
93d041c3f5
Fix being unable to set lowpass filter to 5 for the MPU6000.
2014-09-14 16:33:14 +01:00
Dominic Clifton
f58de05e94
Fix currentmeter on STM32F10X, closes #74
2014-09-13 02:24:05 +01:00
Dominic Clifton
c1569d6319
Add OLED documentation.
2014-09-12 21:56:34 +01:00
Dominic Clifton
853fdb20b1
Display sensor readings (acc/gyro/compass) and battery readings on OLED
...
screen.
2014-09-12 21:56:34 +01:00
Dominic Clifton
2e959dfd04
Make display support configurable per-target, enabled by default for
...
NAZE and EUSTM32F103RC.
2014-09-12 21:56:33 +01:00
Dominic Clifton
f29168a998
Working OLED in test mode.
2014-09-12 21:56:33 +01:00
Dominic Clifton
9ce6dde1e7
Work-in-progress.
2014-09-12 21:56:33 +01:00
Dominic Clifton
0c77e27f33
Add link to configuration in chrome web store to the readme file.
2014-09-12 08:55:19 +01:00
Dominic Clifton
eee766e2ec
Bump config version, required due to
...
275089eca1
.
2014-09-08 11:03:43 +01:00
Andreas Tacke
275089eca1
Make disarming via AUX switch independent of throttle value configurable
...
Conflicts:
src/cli.c
src/config.c
src/mw.c
src/mw.h
2014-09-08 11:02:02 +01:00