aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2017-10-06Temperature is 14.1 now, now 13.2. Divide by 2 instead of 4 before display.Selene ToyKeeper1-1/+1
2017-10-01Use either full or quarter speed in nice delays, based on output level.Selene ToyKeeper1-1/+19
This fixes issues with some blinky modes being audible (particularly biking and lightning modes), without sacrificing the power savings for other blinkies (like beacon and battcheck).
2017-09-29Made dual-switch startup optionally go to moon if e-switch is held.Selene ToyKeeper1-1/+6
2017-09-29Added option to start at memorized level, for momentary use on dual-switch ↵Selene ToyKeeper3-5/+49
lights. Renamed WL versions of eeprom functions, for naming consistency.
2017-09-28Make sure hold-from-off ramps up, not down.Selene ToyKeeper1-0/+3
2017-09-28Added reversing to Anduril. Made EV_tick always send 0 while in "hold" state.Selene ToyKeeper2-5/+40
Reversing is a build-time option.
2017-09-28Rearranged some build options and made sure the build still works if some ↵Selene ToyKeeper2-11/+32
are turned off.
2017-09-28Fixed issue where double-click-from-off followed by ↵Selene ToyKeeper1-1/+0
double-click-to-true-turbo would overwrite memory with the ceiling level.
2017-09-28Fleshed out options to blink at floor, ceiling, and channel boundaries.Selene ToyKeeper1-18/+32
2017-09-28Adjusted bike flasher floor and ceiling:Selene ToyKeeper1-3/+4
- floor high enough to make sure it always blinks - ceiling can be higher than halfway up the ramp
2017-09-26Er, set the clock speed *before* going idle, not after. :)Selene ToyKeeper1-3/+4
2017-09-26Added dynamic underclocking to FSM, instead of doing it manually in Anduril.Selene ToyKeeper6-24/+63
2017-09-26Fixed moon in lockout state. Was too low since the MCU wasn't underclocked.Selene ToyKeeper1-2/+3
2017-09-25Dropped moon power another 0.5 mA.Selene ToyKeeper1-5/+11
Fixed clock speed related brightness glitch when turning on at moon mode.
2017-09-24Moved halfspeed thing so it'll affect goodnight mode too.Selene ToyKeeper1-10/+9
2017-09-24Cut moon power from ~4mA to ~2.5mA by running clock at half speed on very ↵Selene ToyKeeper3-4/+37
low modes. Adjusted default FET+1 ramp to compensate for speed bump. Added define(s) for whether to blink at ramp floor/ceiling/channel edges. Lowered default moon level to 1, since slower speed makes it brighter and more stable.
2017-09-24Added idle to goodnight mode, for 2mA less power at all levels.Selene ToyKeeper1-6/+11
Reduced ROM size slightly by avoiding repeated access to the volatile current_state var.
2017-09-24Removed unused code from first idle_mode(); experiment.Selene ToyKeeper3-25/+1
2017-09-24Added idle_mode() for slightly lower power use without turning off any ↵Selene ToyKeeper4-3/+54
regular functions. (PWM, ADC, WDT all still enabled; only useful in moon mode) Changed default ceilings in Anduril FW3A config.
2017-09-22Forgot to include a copy of the GPL before.Selene ToyKeeper1-0/+674
It's in other parts of the repo, but it should be in the FSM dir too.
2017-09-22Updated the FSM docs a bit, for things added or changed since the last time ↵Selene ToyKeeper1-0/+58
I touched the docs.
2017-09-22Added anduril UI diagram.Selene ToyKeeper2-0/+3428
2017-09-22Updated Meteor UI to use provided go_to_standby. Started on UI3, but it's ↵Selene ToyKeeper1-12/+74
not really working yet. Needs some underlying plumbing changes first, adding support for medium-length clicks.
2017-09-22Slightly increased resolution of VOLTAGE_FUDGE_FACTOR.Selene ToyKeeper2-3/+4
My lights seemed to measure just a bit low, so hopefully this will help. It bumps up reported values by 0.05V.
2017-09-22Added FW3A driver support to FSM and Anduril.Selene ToyKeeper2-20/+36
Made lightning storm mode look a bit more like real lightning. Minor refactoring on how single-option config modes save state.
2017-09-10Fixed a bug in gradual_tick(), I think.Selene ToyKeeper2-3/+4
It was off by one, and caused actual_level to be off by one, which caused other parts of the code to do weird things... - end-of-ramp blink would happen repeatedly. - ramping up went slower (or not at all, with gradual_tick on each tick) - would sometimes trigger underheating code at moon level, and then glide up to the minimum regulation floor
2017-09-10Applied recent changes to UI description text.Selene ToyKeeper1-7/+16
2017-09-10Moved strobes from 5 clicks to "click, click, long-click".Selene ToyKeeper2-8/+28
Moved momentary mode from 6 clicks to 5 clicks.