IncrementWithReset


Project maintained by profezzorn Hosted on GitHub Pages — Theme by mattgraham

Usage 🔗

IncrementWithReset<PULSE, RESET_PULSE, MAX, I>

Arguments 🔗

Description 🔗

Starts at zero, increments by I each time the PULSE occurse. If it reaches MAX it stays there. Resets back to zero when RESET_PULSE occurs.

See Also 🔗

EffectPulse, LockupPulseF, EffectIncrementF, IncrementModulo, ThresholdPulseF, IncrementF

Source Link 🔗

https://github.com/profezzorn/ProffieOS/blob/6f8add544c627172ad2dd698c90e5e55078a420a/functions/effect_increment.h#L48