aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-channels.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* reorganized project files (part 1)Selene ToyKeeper2023-11-021-357/+0
| | | | | (just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
* rewrote emisar-d4k-3ch to use delta-sigma modulation (PWM + DSM),Selene ToyKeeper2023-10-131-4/+7
| | | | | | | | | | | | | | 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)
* fixed builds which weren't using set_level_zero() yet...Selene ToyKeeper2023-09-171-0/+2
| | | | | | | | | | | | | | | | | | - emisar-d4 - emisar-d4v2 - emisar-d4v2-nofet - emisar-d4sv2 - emisar-2ch - emisar-2ch-fet - noctigon-dm11-boost - noctigon-k1 - noctigon-kr4 - noctigon-kr4-nofet - sofirn-lt1s-pro ... and removed old build targets for d4sv2-tintramp, because it was replaced by emisar-2ch a while ago.
* made custom 3H handler system work, added circular HSV ramping,Selene ToyKeeper2023-08-251-3/+8
| | | | | | 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)
* added channel mode per strobe mode, and made FSM channel mode more flexible,Selene ToyKeeper2023-08-241-1/+1
| | | | | and fixed issue in tactical mode where strobes wouldn't stop on button release
* refactored how channel modes are defined, and converted emisar-2ch buildSelene ToyKeeper2023-07-101-0/+347