| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
into pr10-SiteRelEnby-rgb-voltage-configurable
pulling pr10 branch into a feature branch based on a newer trunk
* 'rgb-voltage-configurable' of github.com:SiteRelEnby/anduril:
Add a feature to make RGB voltage configurable
|
| | |\ |
|
| | |\ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
| | | |
| | | |
| | | | |
so it no longer flashes on each click while advancing to other functions
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- changed model number from 0281 to 0171
- cleaned up blink_negative and AUXLED_RGB_DIFFERENT_PORTS a little
(but the latter needs a complete refactor, as soon as the
hardware abstraction code can handle aux LEDs better)
- cleaned up USE_LONG_BLINK_FOR_NEGATIVE_SIGN a little
- removed USE_OTG_IN_MOMENTARY since it's not actually used
- moved hw/loneoceans/lume-x1-avr32dd20/* files into hw/hank/lume-x1/
- superficial cleanup on hank/lume-x1/hwdef.*
- removed some of the extra stuff from hank/lume-x1/anduril.h
- adjusted calibration (especially ramp table) on hank-lume-x1
(ramp shape is pretty close to a D4K-boost now, but with more firefly modes)
(calibration is based on a sample size of 1, further testing needed)
|
| | |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
https://github.com/loneoceans/anduril/commit/d83ebb75dab8c462b7efa841bccc00a136ff15a2
The [PR](https://github.com/ToyKeeper/anduril/pull/37) has a lot of other
stuff in it, so I'm just picking out the parts needed for this particular
light, and leaving the rest for later.
Will need further edits before merging into trunk.
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| | |
fixes #85
The Simple UI is meant to be relatively child-safe, and the strobe modes
are not. Users who want unsafe features enabled should use the full UI
instead... and the strobe + mood modes should also have some safety
features added, on drivers which have enough ROM to hold extra code.
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
FIXME: The d3aa's voltage calculator needs to be fixed after this merge.
* trunk:
use smooth steps in lockout mode, if enabled
fixed Tactical Mode's strobes when Momentary Mode not enabled
increased voltage precision from 0.025V to 0.02V (so 0 to 255 now goes from 0.00V to 5.10V)
fixed inaccurate comment (thanks to xikteny for spotting it)
Allow manually running GitHub actions workflows
Bugfix: Prevent switching channel modes when in tactical mode
Bugfix: Tactical mode has a dependency on momentary mode
|
| | |
| |
| |
| |
| | |
Based on [SammysHP's patch](https://github.com/ToyKeeper/anduril/pull/18),
but only for lockout mode, not tactical.
|
| | | |
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | | |
github.com:SiteRelEnby/anduril into pr46-SiteRelEnby-bugfix-tacmode-without-momentary
* 'bugfix-tacmode-without-momentary' of github.com:SiteRelEnby/anduril:
Bugfix: Tactical mode has a dependency on momentary mode
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use case 1: Updating a t85 light, where tactical mode is useful but
takes some squeezing, and momentary is less useful
Use case 2: Custom builds for people who don't like/want momentary mode
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
pr49-SiteRelEnby-tactical-mode-3c-fix
* 'tactical-mode-3c-fix' of github.com:SiteRelEnby/anduril:
Bugfix: Prevent switching channel modes when in tactical mode
|
| | | |/
| | |
| | |
| | | |
Fixes issue https://github.com/ToyKeeper/anduril/issues/40
|
| | |/
| |
| |
| | |
(so 0 to 255 now goes from 0.00V to 5.10V)
|
| |/
|
|
| |
(saving progress here so I can work on a different branch)
|
| |
|
|
|
| |
This helps when using a regulator which doesn't like being turned off
and back on quickly.
|
| | |
|
| |
|
|
|
|
|
| |
- set DEFAULT_BIKING_LEVEL in bike mode's header file
- use RAMP_SIZE/3 by default
- limit to MAX_BIKING_LEVEL if necessary
- get rid of any ties to MAX_1x7135 because it's kind of an obsolete symbol
|
| |\
| |
| |
| |
| |
| |
| | |
pr23-digitalcircuit-fix-nofet-bikeflash
* 'fix-nofet-bikeflash' of github.com:digitalcircuit/anduril:
bikeflash: Cap default brightness to max, define
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cap fallback default bike flasher brightness to stay below
MAX_BIKING_LEVEL, fixing noFET/boost driver builds where MAX_1x7135 is
above MAX_BIKING_LEVEL.
Add the optional define DEFAULT_BIKING_LEVEL to set the default bike
flasher brightness. This is NOT checked against MAX_BIKING_LEVEL, for
simplicity.
Alternatively, strobe-modes.c could be updated to check if the value
exceeds MAX_BIKING_LEVEL at runtime. However, that might take up more
flash space.
Migrated from https://code.launchpad.net/~digitalcircuit/flashlight-firmware/anduril2_fix_nofet_bikeflash/+merge/408124
|
| | |
| |
| |
| |
| |
| |
| | |
1/3rd of the ramp size is probably a more reliable default
than MAX_1x7135. The 7135-based reference points need to eventually
be removed entirely and replaced by something more universal,
but for now at least don't fail when a thermal stepdown isn't defined.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
internal volt unit
Before this branch, `voltage` was 6 bits: Volts * 10
A couple patches ago, I upgraded it to 16 bits: 65535 * Volts / 10.24
That costs too much extra ROM on attiny85 though, for extra precision
it doesn't even use... so I switched back to an 8-bit value. It's still
more precise than before though: Volts * 40
... and battcheck displays an extra digit now, on devices with ROM for it.
... and battcheck waits a second to get a more accurate measurement
before displaying the first value. It has *much* less variation
between first and later readings now.
Also:
- got t1616 builds working again (tested fc13 and thefreeman-boost-fwaa)
- upgraded t1616 voltage and temp to 12-bit (10 bits + 4x oversampling)
- removed expensive temp conversion from t1616 ADC interrupt
- recalibrated t1616 bogomips again; runs faster after interrupt fix
- increased t1616 internal VDD measurement resolution by 36% (1.5V Vref, not 1.1V)
- fixed sloppy setting of Vref bits
I still need to test / update other t1616 builds,
and fix all the t85 + t1634 code and build targets.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The gradual tick frequency was written for 8-bit PWM,
but it can be too slow on hardware with more bits.
The hwdef can compensate by using larger steps,
but that makes adjustments more visible...
So this provides an option to increase speed without visibility.
|
| | | |
|
| |/
|
|
| |
Phew, that's a lot of changes! And there's still a lot more to do...
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
pr-16-SammysHP-momentary-turbo
* 'momentary-turbo' of github.com:SammysHP/anduril:
Allow turbo in momentary mode
|
| | | |
|
| |/ |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
johnou-bugfix/no-simple-ui-error
* 'bugfix/no-simple-ui-error' of github.com:johnou/anduril:
Fix compile error when Simple UI is undefined.
|
| | | |
|
| | |
| |
| |
| | |
(previous commit still failed)
|
| |/ |
|
| |
|
|
|
|
|
|
| |
- fleshed out main README.md a bit
- improved github formatting for docs/which-hex-file.md
- added 'make docs' to preview .md files as .html
- ignore html files generated by 'make docs'
- removed rampingios-v3.html file generated years ago
|
| | |
|
| |
|
|
| |
(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)
|