-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement channel_uses_aux() (Fixes issue #29) #33
base: trunk
Are you sure you want to change the base?
Implement channel_uses_aux() (Fixes issue #29) #33
Commits on Dec 17, 2023
-
Implement channel_uses_aux() (Fixes issue ToyKeeper#29)
Define when a channel needs to use aux LEDs as part of its operation, allowing that channel to block RGB voltage when on if configured.
Configuration menu - View commit details
-
Copy full SHA for cbef5e7 - Browse repository at this point
Copy the full SHA cbef5e7View commit details
Commits on Jan 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a6fd5cf - Browse repository at this point
Copy the full SHA a6fd5cfView commit details
Commits on Jan 23, 2024
-
Prevent selecting aux channels in strobes needing brightness control
This prevents a user from 3Cing into an aux channel while in one of these strobes (candle mode and bike flasher) where they will just get solid aux as a result, while still allowing aux channels to be used for strobes where it might make sense (e.g. lightning, tac strobe). Also added uses_aux to the TS10v1 aux channel which I forgot before.
Configuration menu - View commit details
-
Copy full SHA for d12a278 - Browse repository at this point
Copy the full SHA d12a278View commit details -
fix two separate bugs around RGB aux channels
First off, green was not defined properly and was instead defined the same as a main channel (leading to the behaviour described in the issue at ToyKeeper#33 (comment) Second, fix the actual bug causing aux to not work for blinky modes. Specifically, set_level needs to be patched so that instead of (or as well as, doesn't really matter) calling set_level_zero(), it will also check for if the active channel is an RGB channel and if so them clear RGB state.
Configuration menu - View commit details
-
Copy full SHA for 8703b53 - Browse repository at this point
Copy the full SHA 8703b53View commit details -
set_level_zero was causing aux-based channels to be set to off at level 0 (i.e. level 1). Also added a clarifying comment.
Configuration menu - View commit details
-
Copy full SHA for 532cf4a - Browse repository at this point
Copy the full SHA 532cf4aView commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4949daf - Browse repository at this point
Copy the full SHA 4949dafView commit details -
emisar-d3aa: new model number, since this is a new product line
The 0144 model number is reserved for the successor to the Meteor M44. This is Hank's first AA light, so it's assigned as 0161: - 01: Emisar - 6: product line 6 - 1: model 1
Configuration menu - View commit details
-
Copy full SHA for 90cf97f - Browse repository at this point
Copy the full SHA 90cf97fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23eab2d - Browse repository at this point
Copy the full SHA 23eab2dView commit details -
avr32dd20-devkit: use unimplemented "CH" pin as a boost bypass control
For 3V LEDs on a boost/buck dual fuel driver, this allows routing power around the boost converter in li-ion mode, to reduce resistance and increase maximum output. The AA/NiMH mode is unaffected, and boosts as normal.
Configuration menu - View commit details
-
Copy full SHA for 340ba9f - Browse repository at this point
Copy the full SHA 340ba9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20cf1ea - Browse repository at this point
Copy the full SHA 20cf1eaView commit details -
enabled eeprom read/write stabilization by default on recent MCUs,
to prevent corrupt data This was enabled on more build targets before, but the *_ENABLE_PIN definition names changed and the eeprom code didn't, so it was not compiled in for a few months on some lights which probably needed it. To fix that, it's now enabled by default on everything bigger than attiny85, since it doesn't really hurt anything if it's enabled when not needed.
Configuration menu - View commit details
-
Copy full SHA for 98e71f0 - Browse repository at this point
Copy the full SHA 98e71f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3cd2f8 - Browse repository at this point
Copy the full SHA d3cd2f8View commit details -
- new ramp - production style config defaults (simple mode, Hank config) - candle tuning - fixed way-too-fast thermal regulation (might still be a bit fast, but it's a lot better)
Configuration menu - View commit details
-
Copy full SHA for 8f9dc1d - Browse repository at this point
Copy the full SHA 8f9dc1dView commit details -
dammit, got alkaline detection half working and then my flashing adap…
…ter died (saving progress here so I can work on a different branch)
Configuration menu - View commit details
-
Copy full SHA for 92d9ded - Browse repository at this point
Copy the full SHA 92d9dedView commit details -
d3aa: got weak battery detection actually working,
and not letting the magic smoke out of updi adapters any more (probably) The alkaline detection might be a little too lenient though; it could potentially fail to activate limits when the cell is completely full or stronger than an average alkaline. One of my test cells measured at 72 / 75, so if it was just a little stronger it'd pass... but most alkalines I tried were in the 40 to 60 range and failed easily. OTOH, if I make it easier to fail, it's likely to trip on normal li-ion cells, and I don't want that. So as a future enhancement idea, maybe it should have a smaller sag threshold for AA and a larger threshold for li-ion. That would reduce false negatives for AA, while still preventing false positives for li-ion.
Configuration menu - View commit details
-
Copy full SHA for 877b158 - Browse repository at this point
Copy the full SHA 877b158View commit details -
weak battery detection: use different thresholds for AA and Li-Ion
(also, fixed bug where a totally empty li-ion didn't get limited)
Configuration menu - View commit details
-
Copy full SHA for da91bfd - Browse repository at this point
Copy the full SHA da91bfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 293ceed - Browse repository at this point
Copy the full SHA 293ceedView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6be44a - Browse repository at this point
Copy the full SHA d6be44aView commit details -
increased voltage precision from 0.025V to 0.02V
(so 0 to 255 now goes from 0.00V to 5.10V)
Configuration menu - View commit details
-
Copy full SHA for 2580629 - Browse repository at this point
Copy the full SHA 2580629View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1e6ee3 - Browse repository at this point
Copy the full SHA b1e6ee3View commit details -
Bugfix: Tactical mode has a dependency on momentary mode
Use case 1: Updating a t85 light, where tactical mode is useful but takes some squeezing, and momentary is less useful Use case 2: Custom builds for people who don't like/want momentary mode
Configuration menu - View commit details
-
Copy full SHA for e6747c3 - Browse repository at this point
Copy the full SHA e6747c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef7a45d - Browse repository at this point
Copy the full SHA ef7a45dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fb1078 - Browse repository at this point
Copy the full SHA 0fb1078View commit details -
use smooth steps in lockout mode, if enabled
Based on [SammysHP's patch](ToyKeeper#18), but only for lockout mode, not tactical.
Configuration menu - View commit details
-
Copy full SHA for 57764c1 - Browse repository at this point
Copy the full SHA 57764c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb71361 - Browse repository at this point
Copy the full SHA fb71361View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5582498 - Browse repository at this point
Copy the full SHA 5582498View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4fb058 - Browse repository at this point
Copy the full SHA b4fb058View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf80d17 - Browse repository at this point
Copy the full SHA cf80d17View commit details -
Add Fireflies PL47G2-219 variant.
Same as PL47G2 but with FET PWM levels safe for 219 emitters. Same as difference between PL47 and PL47-219. PL47G2 base allows low mode for aux LEDs, PL47 does not.
Configuration menu - View commit details
-
Copy full SHA for 202310b - Browse repository at this point
Copy the full SHA 202310bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 480335c - Browse repository at this point
Copy the full SHA 480335cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0538ca1 - Browse repository at this point
Copy the full SHA 0538ca1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 394c196 - Browse repository at this point
Copy the full SHA 394c196View commit details -
Updating PR branch to rebase on latest changes, and also save a bit of
MCU space on a few lights
Configuration menu - View commit details
-
Copy full SHA for be0361a - Browse repository at this point
Copy the full SHA be0361aView commit details
Commits on Jun 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 43e5c57 - Browse repository at this point
Copy the full SHA 43e5c57View commit details