| Commit message (Collapse) | Author | Files | Lines |
|
(just moved files, didn't change the contents yet,
and nothing will work without updating #includes and build scripts and stuff)
|
|
|
|
(this gives better, smoother low modes and reduced flicker)
|
|
|
|
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)
|
|
and changed algorithm to two simple crossfades instead of one funky and
probably incorrect crossfade with an extra triangle in the middle
(but it may be best to convert to sine-shaped crossfades instead of linear)
(I can't really test this one very will since I don't have D4K hardware with
red+warm+cool LEDs, so I'm guessing based on my unbalanced RGB model with
the LEDs in the wrong order)
|
|
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.
|
|
fixed some minor issues with LEDs not getting turned off in corner cases
(strobe on channel 1 -> strobe on channel 2, 1 might not get turned off)
|
|
|