Back to Index

Emits a pulse when the delta from the last value exceeds band.

Signature

STEP_DETECT(x, band, &q);

Example

// Example pattern from analog_macros.ems
STEP_DETECT(ain(1), 50, step);