comp
Two input comparator with hysteresis
- Provided by: linuxcnc-uspace (Version: 1:2.9.4-2ubuntu2)
- Source: linuxcnc
- Report a bug
Two input comparator with hysteresis
loadrt comp [count=N|names=name1[,name2...]]
With zero hysteresis, the output is true when in1 > in0. With nonzero hysteresis, the output switches on and off at two different values, separated by distance hyst around the point where in1 = in0. Keep in mind that floating point calculations are never absolute and it is wise to always set hyst if you intend to use equal
Jeff Epler
GPL