aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | added "200%" turbo on tint-ramping lights: D4S and LT1Selene ToyKeeper2021-10-315-37/+71
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normal ramp from 0% to 100% power on levels 1 to 130, then 101% to 200% power at levels 131 to 150 using both channels at maximum for turbo. When either channel would go over 100%, the extra spills over to the other channel.
* | | | | | | | | | | Clarified Ramp->2C behavior a bit more.Selene ToyKeeper2021-10-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (old wording was confusing people)
* | | | | | | | | | | fixed too-slow thermal regulation bug introduced in d4sv2-tintramp branchSelene ToyKeeper2021-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (2021-09-10 r619.1.11) The gradual_target var was getting clobbered and causing thermal regulation to stop until the next thermal warning event, every time it reached a new ramp step. So... save/restore it to prevent it from getting clobbered.
* | | | | | | | | | | don't blink when toggling tintSelene ToyKeeper2021-10-141-1/+1
| | | | | | | | | | |
* | | | | | | | | | | don't hardcode 2.9V for aux LED shutoffSelene ToyKeeper2021-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (use the same value as LVP; easier to configure if it's in only one place)
| * | | | | | | | | | fine-tuned DM11-12V build a bit based on actual measurementsSelene ToyKeeper2021-11-121-7/+11
| | | | | | | | | | |
| * | | | | | | | | | renamed MD11 -> DM11 because Hank changed the product nameSelene ToyKeeper2021-10-125-12/+12
| | | | | | | | | | |
| * | | | | | | | | | added early initial attempt at a boost/12V/6V version of the MD11Selene ToyKeeper2021-10-042-0/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (had to guess about some hardware details, unsure if correct)
| * | | | | | | | | | added MD11-noFET, tweaked values in MD11-FET build tooSelene ToyKeeper2021-09-242-3/+46
| | | | | | | | | | |
| * | | | | | | | | | unsure which pin MD11 uses for switch; added a potential change for laterSelene ToyKeeper2021-09-241-2/+11
| | | | | | | | | | |
| * | | | | | | | | | added dynamic PWM and FET to MD11Selene ToyKeeper2021-09-242-27/+51
| | | | | | | | | | |
| * | | | | | | | | | just a few adjustments to start withSelene ToyKeeper2021-09-242-17/+22
| | | | | | | | | | |
| * | | | | | | | | | copied Noctigon K1 -> MD11 to start defining a new lightSelene ToyKeeper2021-09-242-0/+195
|/ / / / / / / / / /
* / / / / / / / / / added attiny type to the MODELS file, rewrote how MODELS file gets generatedSelene ToyKeeper2021-09-223-60/+128
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (because it's kind of important to know which MCU each light uses, and because this will be helpful later when the build system is rewritten)
* | | | | | | | | clarified where brightness level comes from in beacon/sos/momentary modesSelene ToyKeeper2021-09-171-6/+6
| | | | | | | | |
* | | | | | | | | merged K9.3-tintramp / D4Sv2-tintramp branchSelene ToyKeeper2021-09-1518-87/+764
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (which also changed the way tint ramping is implemented, to make things generally cleaner and more flexible)
| * | | | | | | | | added Noctigon K9.3-tintramp build targets for FET, reduced FET, and noFETSelene ToyKeeper2021-09-153-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (apparently Hank liked the D4Sv2-tintramp demo/experiment so much that he decided to use it in production for the K9.3... so it need its own builds since it's a pretty different light even if the driver is almost identical)
| * | | | | | | | | fixed wrong value on D4Sv2-tintramp ramp calculator (was off by one)Selene ToyKeeper2021-09-151-3/+3
| | | | | | | | | |
| * | | | | | | | | fixed builds which failed due to being too big (rot66, mf01-mini)Selene ToyKeeper2021-09-102-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by turning off one more of the recent extra features (can turn it back on later if the build size goes down)
| * | | | | | | | | fixed K9.3 builds (oops, new update_tint() needed to be compiled out for K9.3)Selene ToyKeeper2021-09-102-2/+2
| | | | | | | | | |
| * | | | | | | | | fixed blf-lantern-t1616 build... I thinkSelene ToyKeeper2021-09-102-16/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (can't test because I have no hardware, but it at least compiles)
| * | | | | | | | | fixed ancient bug which caused a weird up-spike in thermal regulation during ↵Selene ToyKeeper2021-09-101-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initial turbo drop, on 3-channel drivers like FW3A and ROT66 (as shown here: http://toykeeper.net/torches/fw3a/therm-2019-05-22.1.png ) What happened was... the FET would start to drop, but gradual adjustments noticed that the Nx7135 channel needed to go from 0 to 255, so it would then slowly ramp that up, and then afterward, the FET drop could finally continue... because the code didn't jump straight from 0 to 255 like it was supposed to. Simple, easy fix: Make channel 2 go up immediately just like channel 1 does. This makes the thermal response several seconds faster than it was before, so it doesn't get as hot, and is less likely to overshoot and bounce later.
| * | | | | | | | | added D4Sv2-tintramp-FET build, which uses a FET on one set of LEDs for ↵Selene ToyKeeper2021-09-104-15/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | turbo modes (it's weird, but Hank wants it) also reworked gradual tint adjustment a bit, so some complex parts go in set_level() instead (probably needs more testing)
| * | | | | | | | | added -mrelax to build.sh; saves ~330 bytes on t1634 buildsSelene ToyKeeper2021-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (suggested by solrize) (doesn't seem to reduce size of t85 builds though)
| * | | | | | | | | changed D4Sv2-tintramp from 255 to 511 for lowest PWM TOP value,Selene ToyKeeper2021-09-082-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to make its thermal regulation smoother and generally increase tint ramp resolution in middle modes (also, tried thermal regulation, and it works)
| * | | | | | | | | got BLF LT1 working again, using new tint-ramping codeSelene ToyKeeper2021-09-083-31/+50
| | | | | | | | | |
| * | | | | | | | | fixed D4Sv2-tintramp PWM_TOP (should be set to the value it needs during ↵Selene ToyKeeper2021-09-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thermal regulation)
| * | | | | | | | | copied Q8 hwdef to LT1 so I can improve itSelene ToyKeeper2021-09-081-0/+21
| | | | | | | | | |
| * | | | | | | | | fixed outdated comment in KR4 hwdefSelene ToyKeeper2021-09-081-1/+1
| | | | | | | | | |
| * | | | | | | | | got D4Sv2 tint ramping to work, with dynamic PWM (PFM)Selene ToyKeeper2021-09-084-80/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and (maybe) thermal regulation (untested) (also broke BLF LT1 in the process; need to fix that now) Rewrote how tint ramping works, so it provides a virtual "PWM1_LVL" for other code to use, and it translates that internally into actual hardware controls. This should, in theory, allow smooth thermal regulation (gradual_tick) to work on tint-ramp lights.
| * | | | | | | | | copied k9.3 config for new d4sv2-tintrampSelene ToyKeeper2021-09-071-0/+85
| | | | | | | | | |
| * | | | | | | | | adjusted hwdef settings for tint-ramping D4Sv2Selene ToyKeeper2021-09-071-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (initial rev, will almost certainly need changes later)
| * | | | | | | | | copied hwdef from K9.3 for new tint-ramping D4Sv2Selene ToyKeeper2021-09-071-0/+164
| | | | | | | | | |
* | | | | | | | | | documented "hold" action in number entry stateSelene ToyKeeper2021-09-141-0/+5
| | | | | | | | | |
* | | | | | | | | | added a hold shortcut in number entry menu: click for +1, hold for +10Selene ToyKeeper2021-09-142-2/+14
|/ / / / / / / / /
* | | | | | | | | merged in a bunch of new features...Selene ToyKeeper2021-08-3115-95/+320
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + runtime option for smooth ramp speed + runtime option for whether hold-from-off should ramp up or stay at the floor + runtime option to select turbo style / 2C style in Advanced UI + same thing, but for Simple UI * sped up the auto-reverse timing window; it was too slow
| * | | | | | | | fixed builds which failed to compile after recent changesSelene ToyKeeper2021-08-314-2/+8
| | | | | | | | |
| * | | | | | | | reduced length of auto-reverse timing window from ~1000 ms to ~660ms, ↵Selene ToyKeeper2021-08-314-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because it was too fast
| * | | | | | | | documented recent changes in the user manualSelene ToyKeeper2021-08-311-20/+64
| | | | | | | | |
| * | | | | | | | made 2C ceiling/turbo behavior configurable in Simple UISelene ToyKeeper2021-08-316-47/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also made it possible to block turbo in Advanced UI (each one has a 2C style: 0 = no turbo, only ceiling 1 = Anduril 1 style, direct to turbo 2 = Anduril 2 style, ceiling unless already there, then turbo )
| * | | | | | | | added third 2C style: 0 = no turbo (but it's still available as momentary)Selene ToyKeeper2021-08-312-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (also, adding this reduced the ROM size somehow)
| * | | | | | | | added runtime option to choose Anduril 1 or Anduril 2 double-click turbo styleSelene ToyKeeper2021-08-318-17/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (2C while on goes to full-power turbo (A1) or ceiling (A2)) also renamed _OPTION defs to _CONFIG for consistency
| * | | | | | | | added runtime option to select whether to ramp up after hold-from-off ↵Selene ToyKeeper2021-08-316-11/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (default) or stay at floor
| * | | | | | | | added runtime config option for smooth ramp speedSelene ToyKeeper2021-08-315-21/+61
|/ / / / / / / /
* | | | | | | | made it possible to use autolock in simple UISelene ToyKeeper2021-08-271-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (requires the user to set it up, so it won't happen to new users unless they do it on purpose)
* | | | | | | | added documentation for the global config menu and jump start levelSelene ToyKeeper2021-08-231-0/+26
| | | | | | | |
* | | | | | | | moved jump start into FSM so it'll be more universal and the app won't need ↵Selene ToyKeeper2021-08-2311-40/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | special clauses (also adjusted KR4 jump start levels a bit)
* | | | | | | | made jump start level configurable at runtime, and made it activate in more ↵Selene ToyKeeper2021-08-237-4/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | places
* | | | | | | | force reset PWM phase when turning on from zeroSelene ToyKeeper2021-08-231-3/+27
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (to make initial response consistent) (otherwise, it can randomly take up to ~16ms to turn on)
* | | | | | | merged digitalcircuit's branch to make autolock timer configurable at build timeSelene ToyKeeper2021-08-191-1/+4
|\ \ \ \ \ \ \