| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2020-02-26 | K1 12V needs party strobe slowed down even more | Selene ToyKeeper | 1 | -1/+1 | |
| 2020-02-25 | added support for boost PMIC enable pin (K1 12V has 2 pins which need to ↵ | Selene ToyKeeper | 1 | -0/+6 | |
| turn on/off for main LED output) | |||||
| 2020-02-25 | Added template files for Noctigon K1 12V model. | Selene ToyKeeper | 1 | -0/+70 | |
| 2019-12-17 | fixed too-slow thermal response (was introduced in the irq-refactor branch) | Selene ToyKeeper | 1 | -5/+8 | |
| 2019-12-11 | added support for Fireflies ROT66 G2 and PL47 G2 | Selene ToyKeeper | 2 | -0/+109 | |
| 2019-12-04 | added a compile-time flag to enable/disable momentary mode (suggested by Agro) | Selene ToyKeeper | 1 | -1/+18 | |
| 2019-12-04 | fixed compile errors to handle a couple USE_ flags better: | Selene ToyKeeper | 1 | -2/+8 | |
| - beacon mode off (suggested by Agro) - tenclick shortcut on with thermal regulation off | |||||
| 2019-12-03 | added a FW3A build with the FET turned off completely | Selene ToyKeeper | 1 | -0/+36 | |
| 2019-12-03 | adjusted lantern tint ramping power correction again, based on measurements ↵ | Selene ToyKeeper | 1 | -1/+1 | |
| of the previous attempt | |||||
| 2019-11-29 | adjusted BLF Lantern (Sofirn LT1) tint ramping power correction factor to ↵ | Selene ToyKeeper | 2 | -1/+8 | |
| match production units (also made the factor configurable per build target) | |||||
| 2019-11-28 | changed voltage colors to better match Noctigon K1 | Selene ToyKeeper | 2 | -5/+5 | |
| 2019-11-25 | renamed Emisar D1S V2 -> Noctigon K1 | Selene ToyKeeper | 1 | -3/+4 | |
| 2019-11-25 | increased Noctigon K1's default temperature limit to 55 C | Selene ToyKeeper | 1 | -0/+4 | |
| 2019-11-25 | calibrated Noctigon K1, changed voltage divider calibration values to 10-bit ↵ | Selene ToyKeeper | 1 | -1/+1 | |
| (was 8-bit before) | |||||
| 2019-11-24 | enabled muggle mode again in all build targets, since it fits now | Selene ToyKeeper | 4 | -23/+0 | |
| 2019-11-20 | made the button LED turn off in momentary mode, instead of staying on forever | Selene ToyKeeper | 1 | -2/+7 | |
| 2019-11-20 | fixed unintentional wakeup right after going to sleep | Selene ToyKeeper | 1 | -2/+2 | |
| (by enabling the PCINT slightly sooner, before setting its "handled" flag) | |||||
| 2019-11-19 | Mateminco MF01S can fit muggle mode again, barely | Selene ToyKeeper | 1 | -3/+3 | |
| 2019-11-19 | reduced build size by a few bytes | Selene ToyKeeper | 2 | -3/+3 | |
| 2019-11-19 | the Q8 can just barely fit muggle mode again | Selene ToyKeeper | 1 | -3/+3 | |
| 2019-11-19 | enabled prevent_reboot_loop() on all builds, to reduce the impact of any ↵ | Selene ToyKeeper | 1 | -5/+7 | |
| potential crashes (even though I just fixed the only known bug which could trigger an unintentional reboot) | |||||
| 2019-11-19 | fixed ADC cycles running 2X as fast as intended | Selene ToyKeeper | 1 | -8/+8 | |
| 2019-11-19 | cleaned up WDT code a bit, reduced total size, | Selene ToyKeeper | 2 | -29/+25 | |
| fixed bug where ticks_since_last could have the wrong value sometimes, reduced power use in sleep mode very slightly by skipping button-handling code while asleep | |||||
| 2019-11-18 | fixed issue where button-press-during-sleep could occasionally cause a reboot | Selene ToyKeeper | 1 | -3/+7 | |
| (by turning off PCINT when the light is awake) | |||||
| 2019-11-18 | added SOS mode to the BLF LT1 Lantern build, because people wanted it | Selene ToyKeeper | 2 | -7/+44 | |
| 2019-11-14 | turned off muggle mode on Q8 and MF01S, to make builds small enough again | Selene ToyKeeper | 2 | -0/+11 | |
| 2019-11-14 | oops, put voltage lowpass on the wrong D4S | Selene ToyKeeper | 2 | -3/+4 | |
| 2019-11-14 | added a lowpass filter for battery voltage measurements | Selene ToyKeeper | 3 | -37/+29 | |
| (but only on attiny1634 devices, since it costs a bit of space and isn't strictly necessary) | |||||
| 2019-11-14 | fixed factory reset (wasn't running interrupt logic since it's deferred now) | Selene ToyKeeper | 3 | -12/+11 | |
| (also fixed issue where nice_delay_ms() was aborted during setup()) (and adjusted the timing to make factory reset similar to the speed it was before this change) | |||||
| 2019-11-14 | fixed ADC code; measures and behaves correctly now, and is easier to read... | Selene ToyKeeper | 3 | -41/+41 | |
| ... but factory reset's auto-calibrate still doesn't get the right values for some reason (manual calibration works, but not auto) | |||||
| 2019-11-14 | started refactoring ADC code to split voltage and temperature into their own ↵ | Selene ToyKeeper | 2 | -212/+226 | |
| functions | |||||
| 2019-11-14 | refactored how interrupts work... | Selene ToyKeeper | 10 | -38/+108 | |
| set a flag and return immediately, then handle the actual logic later during a less-critical code path Enables smarter responses to standby wakeups. Seems to fix missed button presses during standby, and most of the too-fast sleep ticks. Also eliminated waits from button state measurement, so it can happen easier during standby. (also eliminates the chance of an infinite loop on extra-noisy hardware) Also might improve timing-sensitive interrupts like attiny85 PWM channel 4, or a PWM-DSM hybrid technique I'd like to try. BUT this change also appears to break the thermal sensor, so that needs to be fixed. | |||||
| 2019-11-13 | fixed some compile issues related to delay_4ms() | Selene ToyKeeper | 3 | -2/+2 | |
| 2019-10-02 | made lantern's muggle mode brighter (matches default stepped ramp level 4 of 5) | Selene ToyKeeper | 1 | -0/+3 | |
| and made the floor slightly lower (almost as low as level 1 of 5) because this light doesn't run hot enough for the previous limit to make sense (was roughly step 2.9 of 5) | |||||
| 2019-10-02 | added a default version.h for people who don't use the build script | Selene ToyKeeper | 1 | -0/+4 | |
| 2019-09-28 | after safety ramp-down, if the button remains stuck, lock the light | Selene ToyKeeper | 1 | -1/+9 | |
| 2019-09-28 | remapped D1S V2 pins to match new driver | Selene ToyKeeper | 1 | -2/+2 | |
| (and changed a bit about how ADC / DIDR definitions work, since this now uses DIDR1 instead of DIDR0) | |||||
| 2019-09-24 | added a version check function on 15+ clicks from off, added a safety ↵ | Selene ToyKeeper | 4 | -0/+52 | |
| ramp-down if button is held too long at ceiling (also removed muggle mode from a couple build targets because it doesn't fit, not enough ROM) | |||||
| 2019-09-24 | sped up blink_digit() a little bit, because it was annoyingly slow | Selene ToyKeeper | 1 | -3/+4 | |
| 2019-09-24 | made the maximum number of clicks 15 instead of 14 | Selene ToyKeeper | 1 | -1/+1 | |
| 2019-09-15 | added some ideas for stuff to do, updated the UI diagram to show the stepped ↵ | Selene ToyKeeper | 3 | -49/+195 | |
| ramp mode differently | |||||
| 2019-09-07 | slowed down rainbow RGB mode, added a ramp-down on stuck-button for safety ↵ | Selene ToyKeeper | 1 | -1/+7 | |
| purposes | |||||
| 2019-09-06 | added button LED support to D4v2 | Selene ToyKeeper | 5 | -5/+64 | |
| (in a way which doesn't break backward compatibility... ... but it really needs some refactoring to reduce code duplication) | |||||
| 2019-08-29 | added Emisar D4S V2 support | Selene ToyKeeper | 2 | -0/+73 | |
| 2019-08-26 | just cleaning up some comments | Selene ToyKeeper | 1 | -7/+1 | |
| 2019-08-06 | un-hardcoded 255 as the highest PWM level, and used a "PWM_TOP" value instead | Selene ToyKeeper | 2 | -2/+5 | |
| (should make gradual adjustments work better on devices with more than 8 bits of PWM resolution) | |||||
| 2019-08-06 | measured and adjusted D1S v2 ramp parameters | Selene ToyKeeper | 1 | -2/+6 | |
| 2019-08-06 | turn off button LED when muggle mode turns off the main LED | Selene ToyKeeper | 1 | -0/+3 | |
| (to reduce power use in standby) | |||||
| 2019-08-05 | fixed party strobe on D1S v2, set better default aux LED modes, enabled aux ↵ | Selene ToyKeeper | 2 | -29/+49 | |
| LEDs in blinky modes, fixed user feedback when changing aux LED mode, refactored voltage-to-auxled-color code | |||||
| 2019-08-05 | fixed weird ramp behavior on D1S v2 (by trusting the compiler more) | Selene ToyKeeper | 1 | -1/+4 | |
