ThresholdPulseF


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

Usage 🔗

ThresholdPulseF<F, THRESHOLD, HYST_PERCENT>

Arguments 🔗

Description 🔗

Returns 32768 once when F > THRESHOLD, then waits until F < THRESHOLD * HYST_PERCENT / 100 before going back to the initial state (waiting for F > THRESHOLD).

See Also 🔗

IncrementModulo, IncrementF

Source Link 🔗

https://github.com/profezzorn/ProffieOS/blob/6f8add544c627172ad2dd698c90e5e55078a420a/functions/increment.h#L40