aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-06Added more driver types to Anduril.Selene ToyKeeper2-0/+11
2018-08-06Moved RampingIOS V3 code into its own directory.Selene ToyKeeper13-1/+32
2018-08-06Added UI diagram for RampingIOS V3.Selene ToyKeeper2-0/+4113
2018-07-14Added special 219c build. Fixed bug with forgetting memorized brightness ↵Selene ToyKeeper3-1/+15
after changing aux LED mode. (it was actually rebooting after the aux LED change, because it got into an infinite loop of changing state in its leave_state event, which caused a stack overflow... ... so don't change state in a catch-all "else" event handling clause, oops)
2018-07-03Added a momentary + Werner-style UI for FSM, because why not.Selene ToyKeeper7-0/+730
Based on Anduril, but with most of the features removed.
2018-07-01Moved "next aux LED mode" to 7 clicks instead of 14 clicks.Selene ToyKeeper1-11/+7
Shorter, easier, and has sort of an odd symmetry to "next lockout aux LED mode", which is 4 clicks, a pause, and then 3 clicks.
2018-07-01Higher thermal elbow. This light has some decent thermal mass, and the ↵Selene ToyKeeper1-2/+2
curve here is pretty steep and low-biased.
2018-07-01Added hardware profiles and build targets for Emisar D1 and D1S.Selene ToyKeeper3-0/+14
(same as D4, except with lower power-to-mass ratio)
2018-07-01Made it easier to define thermal parameters per driver type.Selene ToyKeeper5-20/+34
Renamed THERM_DOUBLE_SPEED_LEVEL to THERM_FASTER_LEVEL, since it's not really 2X speed, it's 4X or more. This parameter defines approximately how bright the light can be without being considered risky or "turbo". Or the threshold between optimizing for rapid response vs optimizing for no oscillations.
2018-06-30Fixed bug: moon mode flickered a bit in momentary modeSelene ToyKeeper1-10/+8
due to constant MCU clock speed adjustments. (also, reduced code size and made it harder for similar bugs to appear in the future)
2018-06-30Fixed thermal regulation bug, where it used the wrong target to determine ↵Selene ToyKeeper3-3/+34
adjustment speed. Added a THERM_HARD_TURBO_DROP option, but after fixing the previous bug I'm not sure it's really needed. Decreased default temperature ceiling to 45 C (was 50).
2018-06-30Just in case, overheating in muggle mode triggers an immediate drop to the ↵Selene ToyKeeper1-0/+12
floor. Because WTF. This basically can't happen unless someone is doing something very stupid.
2018-06-29Oops, not sure how it even compiled with this typo.Selene ToyKeeper1-1/+1
2018-06-27Ramp down even faster on high modes. Actually save to eeprom after config ↵Selene ToyKeeper1-1/+4
modes.
2018-06-27Made high levels regulate down even faster. Added missing save_config() at ↵Selene ToyKeeper2-13/+14
the end of, um, config modes. Fixed ramp table indentation.
2018-06-27Move driver-specific ramp tables into the driver's config file.Selene ToyKeeper6-42/+98
Added a method to allow driver configs to override default ramp tables.
2018-06-27Fixed return from therm_config state, removed unused eeprom slots, ↵Selene ToyKeeper1-24/+37
reorganized some #defines to be more robust.
2018-06-26Forgot to change lockout mode exit mapping and remove off_state aux LED UI ↵Selene ToyKeeper1-32/+2
in lockout mode.
2018-06-26Mostly got Emisar UI working... I think. Not yet tested.Selene ToyKeeper2-629/+130
2018-06-26Started removing features to match Emisar UI.Selene ToyKeeper1-24/+19
2018-06-26Copied anduril to rampingiosv3 so I can start removing features.Selene ToyKeeper1-0/+1753
2018-06-24re-applied D4S-specific config, got lost in the mergeSelene ToyKeeper2-3/+26
2018-06-24Added D4S to the build-all script.Selene ToyKeeper1-0/+1
2018-06-24Refactored driver/hardware definition code to be one file per driver type.Selene ToyKeeper4-9/+6
2018-06-24Moved driver-specific details to separate header files.Selene ToyKeeper5-37/+88
General code cleanup and notes. Fixed build when thermal regulation is turned off. May have fixed (or at least improved) issue with main LED interfering with aux LEDs during aux LED config.
2018-06-24Initial D4S support for Anduril. (but only the parts which can't be public yet)Selene ToyKeeper2-2/+37
2018-06-24Added script to build all supported Anduril targets.Selene ToyKeeper2-5/+17
2018-06-23Moved pseudo_rand() into its own header, and made it gather entropy from ADC ↵Selene ToyKeeper6-27/+81
readings to improve randomness. Adjusted candle mode to use lower bits instead of upper bits, because the lower bits are more random. (also, the lower-bit method is slightly smaller in ROM)
2018-06-23Don't auto-shutoff indicator LED when entering standby mode.Selene ToyKeeper1-0/+1
2018-06-17Made thermal response faster at high levels. Not yet tested.Selene ToyKeeper1-2/+17
2018-06-17Started adding support for aux LEDs which go out the front instead of ↵Selene ToyKeeper2-1/+8
lighting up the button. (so they should only be on when the main LEDs are off)
2018-06-17Changed halfsleep mode to TICK_DURING_STANDBY. Added blinking indicator LED ↵Selene ToyKeeper8-45/+113
support to Anduril.
2018-06-17Implemented halfsleep mode.Selene ToyKeeper5-9/+63
Will probably change it quite a bit though, so I'm checking in changes first. Needs to be "tick during standby" instead of "half sleep".
2018-06-16Added dual-switch support (tail clicky + e-switch) to muggle mode.Selene ToyKeeper1-8/+29
2018-05-09Documented how to configure indicator LED level while off.Selene ToyKeeper1-1/+27
2018-05-06Added "votive candle mode", a.k.a. candle mode timer.Selene ToyKeeper4-56/+275
Off by default, but click three times to add 30m to the timer. Maximum timer length about 4.5 hours.
2018-05-01Added BLF GT support to Anduril.Selene ToyKeeper1-10/+42
2018-05-01Made voltage ADC readings work on pin7 if USE_VOLTAGE_DIVIDER is defined.Selene ToyKeeper1-9/+39
2018-05-01Added BLF GT 150-level ramp. Is a bit of a mess though.Selene ToyKeeper1-11/+26
2018-05-01Use separate voltage adjustment value for pin7 readings.Selene ToyKeeper1-0/+4
2018-05-01Added missing ifdef for muggle mode behavior at boot.Selene ToyKeeper1-0/+2
2018-05-01updated Anduril diagram based on recent UI changesSelene ToyKeeper2-65/+223
2018-04-24Second pass at making config modes smaller. Seems much better now.Selene ToyKeeper2-92/+69
2018-04-24First pass at refactoring config modes to save space. Also, moved all ↵Selene ToyKeeper2-87/+95
config menus to 4 clicks.
2018-04-23Converted muggle mode to a smooth ramp style. Made it remember this in ↵Selene ToyKeeper1-32/+126
eeprom to persist across battery changes. This uses quite a bit of extra space, so I may need to refactor something else to make more room. Also fixed a bug where ramp style could get stuck at "discrete/stepped ramp" if eeprom got corrupted.
2018-04-23Added more stuff to do.Selene ToyKeeper1-3/+9
2018-04-23Experiment: make ramp blinks configurable by blinking at every fixed-ramp ↵Selene ToyKeeper1-2/+35
step during the smooth ramp. (spoiler: it's annoying)
2018-01-25Updated Anduril UI text/diagram to match current code.Selene ToyKeeper3-439/+835
2018-01-24Minor candle mode tweaks for a better appearance.Selene ToyKeeper1-3/+3
2018-01-24Made candle mode more candle-like and more complex.Selene ToyKeeper1-7/+22