hi
A quick question about -if- object and inclinaison (1/-1).
When increase if f1 > f2 == 1 :
When decrease if f1 < (f2-0.1) == 0 :
i'd like to used 2 threshold to ignore "hysteresis" and make sure value is down more...
like on threshold~ object where you have a High and low ?
I have try this but not run good :/
Is there an object like threshold for data ?
or how do my code on -if- object good ?
if $f1 > $f2 || $f1 < ($f2*-1.) then 1 else $f1 < ($f2-0.1) || $f1 > (($f2*-1.)+0.1)) then 0