aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/emisar-d4k-3ch/cfg.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-03renamed cfg.h -> anduril.h so each UI can have its own cfg (part 1)Selene ToyKeeper1-106/+0
(still need to update file contents afterward, but doing it in a separate commit so git can detect renames easier)
2023-11-02got things to compile again, renamed #includesSelene ToyKeeper1-2/+2
(also modified the build scripts to work with the new file structure)
2023-11-02reorganized project files (part 1)Selene ToyKeeper1-0/+0
(just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
2023-10-27converted noctigon-m44 to use PWM+DSM instead of PWM+PFM (dynamic PWM)Selene ToyKeeper1-2/+2
(this gives better, smoother low modes and reduced flicker)
2023-10-13rewrote emisar-d4k-3ch to use delta-sigma modulation (PWM + DSM),Selene ToyKeeper1-20/+19
which gives much better resolution, especially for the 8-bit channel. Also... - set_channel_mode() aborts when going from/to the same channel, to avoid unnecessary flicker - hsv2rgb() uses 16-bit R/G/B and V now - changed default channel to All - reduced default channel modes to just A, B, C, and All - smooth ramp floor defaults to 1/150 - raised level when aux LEDs turn on high during use (for better compatibility with red main LEDs)
2023-09-22sofirn-lt1s-pro: allow configuring the blink channelSelene ToyKeeper1-1/+0
emisar-d4k-3ch: removed redundant #define
2023-08-26made bike strobe ontime configurable per build,Selene ToyKeeper1-0/+2
and made it longer on emisar-d4k-3ch because some channels don't flash fast enough
2023-08-25started splitting set_level(0) into its own set_level_zero(), andSelene ToyKeeper1-1/+1
made USE_AUX_RGB_LEDS_WHILE_ON work more like the old indicator LEDs, where it gets set automatically with set_level() Using set_level_zero() reduces space used by channel modes, and simplifies code for each mode's set_level_*() functions. I measured about 220 bytes less in the emisar-d4k-3ch build this way, while also reducing the chance of bugs.
2023-08-24added emisar-d4k-3ch buildSelene ToyKeeper1-0/+106