Back to Index

Window comparator. Output is 1 when value is in the inclusive range.

Signature

WINDOW(value, lo, hi, &q);

Example

// Example pattern from analog_macros.ems
WINDOW(ain(1), 200, 800, ok);