| Commit message (Collapse) | Author | Files | Lines |
|
This replaces "USE_CONFIGURABLE_RGB_VOLTAGE_LEVELS"
with "USE_AUX_THRESHOLD_CONFIG", which controls the brightness of
button LEDs while the main LEDs are on,
and during post-off voltage display.
Same basic concept, but works on single-color LEDs too,
and lets the user finally configure POVD thresholds.
The code for this is a bit messy, but the aux LED code as a whole
is pretty messy since it wasn't designed for the things it does now.
The entire thing needs a refactor or rewrite someday. But not today.
For now, this is just enough to make the pull request
cover more use cases before merging into trunk.
I've tested it on a variety of lights, but am not yet entirely
comfortable with it. However, it worked on at least these:
- 1-color button LED, no RGB
- front RGB, 1-color button LED
- front RGB, hardwired also to RGB button
- RGB button, no other aux
These may need extra changes,
and may have extra config options which do nothing...
- front RGB, no button LED
- 1-color front aux, no button LED
- no aux at all
- attiny85 lights (some could theoretically support the new options,
but none even try)
|
|
Adds two entries to the battery voltage settings menu, the first
isathreshold for switching aux to high, and the second sets a minimum
level for it to be displayed, also effectively allowing the feature to
be entirely disabled if not wanted.
|
|
by raising MCU clock speed to half at levels 2+
instead of the previous value of 1/4th speed
I tried full speed too, which makes ripple much smaller and faster...
but it also causes a big jump in brightness between levels 1 and 2.
My lux meter shows ~350 at 1/150 or ~500 at 2/150,
but at half speed it's ~650 at 2/150,
and at full speed it's ~1100 at 2/150.
So I went for a happy medium to balance ripple, brightness, and runtime.
|
|
and updated other scripts and files accordingly
|
|
|
|
|
|
(still need to update file contents afterward,
but doing it in a separate commit so git can detect renames easier)
|
|
(also modified the build scripts to work with the new file structure)
|
|
(just moved files, didn't change the contents yet,
and nothing will work without updating #includes and build scripts and stuff)
|
|
(it's almost identical to noctigon-dm11-boost)
|
|
instead of full GPL headers (or all too often, nothing at all)
There are a few "FIXME" entries where I'm not sure about the correct copyright.
|
|
- use fancy blinking mode by default
(define USE_OLD_BLINKING_INDICATOR if old slow mode is wanted)
- remove TICK_DURING_STANDBY from all cfg-*.h files because it's
enabled automatically by other features anyway (autolock, memory timer)
- remove STANDBY_TICK_SPEED from cfg-*.h because all the values
matched the default anyway so it was redundant
- set rot66 button LED to high+blinking instead of high+off
(it was only "off" because it ran out of space, and that was resolved)
- enabled fancier indicator by default on fireflies-ui and rampingiosv3,
since its other #define clauses were removed
(not sure if those older UIs still compile, but if so, it's worth
at least trying not to break it)
|
|
- use cycling rainbow mode by default on lights with RGB LEDs
(instead of voltage, because it's better for impressing new users)
- use 2C turbo instead of 2C ceiling (Anduril 1 style instead of Anduril 2 style)
also some other minor housekeeping...
- make all K1 models use consistent rainbow cycling speed
- enable auto-lock and manual memory timer on Emisar D1v2
- remove redundant RGB config on Lume1 (it had incorrect comments anyway)
|
|
boost circuit
|
|
(patch to aux-leds.c contributed by SammysHP as "acid" mode)
(also removed RGB config for a few lights because they were
just duplicating the defaults, and were redundant)
|
|
|
|
(the idea is "high but not crazy", or around 100% to 150% of thermally-sustainable level)
... and set the default steps to 5 instead of 3
|
|
USE_TENCLICK_THERMAL_CONFIG
(the tenclick thermal thing isn't relevant ever since factory reset was added)
|
|
|
|
(wobblier), and gave K1-12V a lower moon mode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LEDs in blinky modes, fixed user feedback when changing aux LED mode, refactored voltage-to-auxled-color code
|
|
(it compiles, but most likely doesn't actually work because it's far from finished)
|