Back to Index

Ramps toward a target using a periodic ton tick (call inside a loop).

Signature

ANALOG_RAMP_MS(tickId, active, target, stepUp, stepDn, tickMs, &y);

Example

// Example pattern from analog_macros.ems
ANALOG_RAMP_MS("r1", 1, target, 10, 20, 100, out);