aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2018-01-24Anduril: Re-ordered strobe modes. Reduced compiled size a bit by caching ↵Selene ToyKeeper1-35/+49
volatile vars.
2018-01-24Anduril: Added room-temperature calibration function. Slowed down thermal ↵Selene ToyKeeper1-43/+44
regulation speed for small adjustments.
2018-01-24FSM: added ability to adjust temperature calibration in UI (lower-case ↵Selene ToyKeeper2-4/+5
therm_cal_offset var).
2018-01-24Thermal regulation adjustments...Selene ToyKeeper1-11/+29
- Don't step down lower than 1x7135 level. - Change speed of gradual adjustments based on how far it needs to go, but in all cases slower than before. (may need further adjusting) (is currently a mess, but I wanted to check it in before I tweak it further)
2018-01-24Save a few bytes by changing how PCINT is defined.Selene ToyKeeper2-2/+3
Minor comment cleaning.
2018-01-24Work around issues related to ADC interrupt auto-triggering itself.Selene ToyKeeper3-10/+20
(was firing off 1000 times faster than desired, causing several issues) (now only executes when explicitly requested by the WDT)
2018-01-04Made thermal adjustment speed change depending on how far it needs to go.Selene ToyKeeper1-5/+35
(faster for large changes, much slower for smaller changes) (actual thermal behavior not tested yet) Made lockout mode moon match the current ramp instead of using the lowest of both. Made ramp-type toggle stop doing gradual adjustments back to the previous ramp's level (I hope). Added LVP to muggle mode.
2017-12-12Debouncing finally works (at least, it does on my two test hosts).Selene ToyKeeper4-56/+25
2017-12-11Greatly improved button debouncing. Helps a lot on FW3A and my light saber.Selene ToyKeeper4-7/+57
Debouncing isn't 100% yet though.
2017-12-11Working toward a FW3A release now. Made strobes use Nx7135 (when available) ↵Selene ToyKeeper2-20/+38
instead of FET. Added some ideas. Simplified some syntax.
2017-12-03Made it possible to override address of eeprom array in RAM.Selene ToyKeeper2-0/+8
(useful when trying to use a single large data structure without wasting twice its size in RAM)
2017-11-08Added a candle flicker mode to Anduril. Easy to enable/disable at compile time.Selene ToyKeeper1-8/+85
2017-11-06Added an incredibly simple muggle mode... 1-mode, on/off only, disconnect ↵Selene ToyKeeper1-0/+59
power to exit.
2017-11-06Made FSM eeprom more atomic by writing marker byte last.Selene ToyKeeper1-1/+4
2017-10-21Moved indicator_led() from Anduril into FSM. Made it auto-set indicator ↵Selene ToyKeeper4-75/+79
level based on ramp level. Made Anduril configure voltage fudge and indicator LED functions based on driver type. Removed "ticks_spent_awake" thing since it's redundant. EV_tick arg does the same thing in fewer bytes. Rearranged some clauses in off_state to put events in a more coherent order.
2017-10-21Delay un-setting go_to_standby until the last moment, in case set_level() ↵Selene ToyKeeper1-1/+1
wants to use it.
2017-10-20Made indicator LED turn on/off in lightning mode along with main LED.Selene ToyKeeper1-0/+15
2017-10-20Er, don't save_config() every frame... wait until the user lets go of the ↵Selene ToyKeeper2-4/+7
button.
2017-10-20Added Q8 indicator LED support to Anduril.Selene ToyKeeper1-0/+77
Includes options for off/low/high during regular operation and during lockout mode (two different settings).
2017-10-06Updated more temperature bits to be 14.1 instead of 13.2.Selene ToyKeeper1-3/+3
2017-10-06Made HOLD_TIMEOUT and RELEASE_TIMEOUT define-able in the UI code.Selene ToyKeeper1-0/+4