Back to Index

Limits the change per call. Uses separate up/down limits.

Signature

RATE_LIMIT(x, maxUp, maxDn, &y);

Example

// Example pattern from analog_macros.ems
RATE_LIMIT(target, 50, 100, out);