aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-07-12add configurable #define DEFAULT_AUTOLOCK_TIMEShane Synan1-1/+4
Added a new #define DEFAULT_AUTOLOCK_TIME to simplify compiling firmware with the autolock timer enabled by default. If this is not specified, the autolock timer remains disabled by default. This removes the need to modify lockout-mode.h directly.
2021-07-11rewrote hybrid memory (manual memory timer) to eliminate corner casesSelene ToyKeeper1-15/+14
Old method: - at 1-click power-on, choose a brightness based on off-time (manual level or last-ramped level) New method: - when off longer than the timer, set last-ramped level to manual level This fixes a bug: - turn light off - wait for timer - turn light on with a shortcut to moon - turn light off - turn light on - pre-patch, light went to last-ramped level instead of manual level This change also reduces the ROM size slightly.
2021-07-11added Emisar D18 Nichia 219 build target (same as normal but reduced FET power)Selene ToyKeeper2-0/+15
2021-07-09set Emisar/Noctigon "219" builds to 65% FET powerSelene ToyKeeper5-8/+20
(was 75% or 80% before) (change requested by Emisar)
2021-05-23added missing ifdefs for compiling without USE_SIMPLE_UISelene ToyKeeper1-1/+9
(compiles now, but isn't tested on hardware)
2021-05-13oops, somehow I forgot to add this earlier... Hank's UI preferences ↵Selene ToyKeeper1-0/+21
(applies to all Emisar / Noctigon lights)
2021-05-07made manual memory remember tint too, not just brightnessSelene ToyKeeper5-17/+33
2021-04-14aux LED config cleaning...Selene ToyKeeper26-107/+15
- 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)
2021-04-13config updates for Hank (Emisar / Noctigon):Selene ToyKeeper12-7/+11
- 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)
2021-04-13fixed missing ifdef for simple UISelene ToyKeeper1-1/+4
2021-04-13fixed wrong word in manual (turbo is in full UI only)Selene ToyKeeper1-1/+1
2021-04-02re-numbered t1616 builds to reflect manufacturer betterSelene ToyKeeper5-8/+8
(all the Sofirn ones are pre-production builds intended to go on new Sofirn-produced hardware)
2021-04-02fixed blinking aux LED on gchart-fet1-t1616 (was fast and bright, now uses ↵Selene ToyKeeper1-0/+5
2-level heartbeat pattern)
2021-04-01reverted version.h back to generic originalSelene ToyKeeper1-1/+4
2021-04-01Renamed gchart-fet1-t16 to t1616, to make it consistent with other t1616 models.Selene ToyKeeper2-2/+2
2021-04-01slightly reorganized declaration of PCINT to make it easier to readSelene ToyKeeper1-16/+10
2021-04-01touched up a bit of formatting and a note for later optimizationSelene ToyKeeper1-4/+7
2021-02-01Add RGB Aux functionality for 1-SeriesGabriel Hart2-22/+43
2021-02-01Updated the Sofirn SP10S Anduril boardGabriel Hart2-3/+1
2021-01-25updated MODELS file with missing K9.3-nofet build targetSelene ToyKeeper1-0/+1
2021-01-25removed redundant function call, added missing commentSelene ToyKeeper2-4/+1
2021-01-25bug pseudo-fix: K9.3 lockout mode failed in blinking single-color modeSelene ToyKeeper2-0/+12
because of what appears to be compiler jank or a race condition or some other highly unusual issue (fixed by eating up extra clock cycles in the affected code path)
2021-01-12Clean up a couple unnecessary #defines in gchart fet1 config fileGabriel Hart1-8/+0
2021-01-12Add the override of ATTINY setting to 1616 for the new T1616 config filesGabriel Hart3-0/+3
2021-01-12Add hwdef for BLF Q8 with t1616 and cfg files for the Q8, Lantern, and SP36Gabriel Hart4-0/+166
2021-01-12Rename SP10Ss hwdef file to align with othersGabriel Hart1-1/+1
2021-01-12Add Sofirn SP10S (adapter) and dual-voltage logicGabriel Hart4-1/+36
2020-12-20Fix 1-Series standby tick speed, use 2C TurboGabriel Hart3-3/+6
2020-12-18Add AVR 1-Series and t1616 board and scriptsGabriel Hart9-6/+185
2020-12-13noctigon k9.3: default to aux RGB rainbow mode, and automatic memorySelene ToyKeeper1-2/+3
2020-10-22enabled memory timer and resetting tint after timeout on K9.3Selene ToyKeeper3-2/+15
(unsure if I'll keep it this way though, or if the old way was better)
2020-10-18added model number to Lume1 FW3X build targetSelene ToyKeeper2-0/+5
2020-10-18minor update to anduril-ui.png (added clarification of what "3H" means)Selene ToyKeeper2-27/+5
2020-10-16added K9.3-noFET build target (for models with E21A as main LEDs)Selene ToyKeeper2-1/+55
2020-10-16start tint at 0 instead of 128 on lights with toggle instead of rampSelene ToyKeeper1-0/+4
2020-10-16added ramp 3H -> momentary turboSelene ToyKeeper2-0/+16
2020-10-15made gradual_tick() work on K9.3 (via override), fixed strobe config,Selene ToyKeeper4-9/+87
made blink_once() more configurable (and more reliable on K9.3)
2020-10-14got K9.3 2nd LEDs working (and modified FSM to allow this sort of thing)Selene ToyKeeper5-1/+85
added a way to include per-model code overrides added an override mechanism for logic inside set_level() wrote K9.3's set_level() function added TINT_RAMP_TOGGLE_ONLY mode for tint ramping
2020-10-14configured K9.3 cfg (mostly), assigned a model number, fixed typo in hwdefSelene ToyKeeper2-16/+18
(main LEDs work now; 2nd LEDs not yet) (aux and button LEDs work too, plus switch)
2020-10-14copied KR4 cfg to K9.3 cfgSelene ToyKeeper1-0/+65
2020-10-14renamed LED_ENABLE2_* to LED2_ENABLE_*Selene ToyKeeper2-8/+8
2020-09-30improved docs, changed blinky order: Battcheck, Tempcheck, Beacon, SOSSelene ToyKeeper6-94/+127
2020-09-27fixed factory reset (forgot one line in previous commit)Selene ToyKeeper1-0/+1
2020-09-27reworked nice_delay interrupt system and fixed some old issues:Selene ToyKeeper7-37/+38
- added set_state_deferred(), to avoid timing issues when changing state in loop() (fixes bug where first button press after version check was sometimes ignored, and similar issue after battcheck in simple UI) - reduced chance of eating first button press after simple UI's battcheck, because it spent an extra second waiting after finishing the readout, and it wasn't intuitive for a single click to go from "post-battcheck darkness" to "off" during that period - made interrupt_nice_delays() happen every time the state changes, instead of having nice_delay() explicitly check for state changes while it waits... (because the explicit check was buggy and used more ROM) - made nice_delay_ms() abort immediately when interrupt is set, instead of waiting 1ms before it even checks for the interrupt condition... this makes aborted animations end a lot faster, with less visible flickering - made blink_num() smaller and simpler, because changes listed above make it possible - slightly changed order of events in main(), to accommodate for changes above - fixed issue where battcheck would keep trying to blink out numbers while the user was holding 10H for voltage config mode - ... and reduced ROM size by about 38 bytes
2020-09-27fixed bug: momentary bike mode could sometimes get stuck on for a few ↵Selene ToyKeeper1-0/+1
seconds after releasing button
2020-09-25tiny clarification in the manual about memorySelene ToyKeeper1-0/+5
(committed despite being tiny, so I can do a merge in a moment)
2020-09-25reduced temperature limit for Noctigon K1-12V, to avoid overheating the ↵Selene ToyKeeper1-2/+6
boost circuit
2020-09-25removed ROM-size reduction options from larger build targets; not needed any ↵Selene ToyKeeper3-11/+0
more
2020-09-25reduced ROM size by ~58 to ~88 bytes by making lookup tables constSelene ToyKeeper1-5/+5
patch by SammysHP and Grumsel: https://gist.github.com/SammysHP/48347a770995921444a6e91b187cb55b http://budgetlightforum.com/comment/1699350#comment-1699350
2020-09-25reduced ROM 4 bytes by rearranging thermal_config_save() logic a bitSelene ToyKeeper1-7/+6
patch is from SammysHP: https://gist.github.com/SammysHP/48347a770995921444a6e91b187cb55b