hello:
I have two bytes say ADC, & OLD_ADC. I'd like to compare them to see if they differ by more than value HYST (a constant) & take action if the difference (+/-) is more than HYST. Thus I need to take an absolute value of the difference. Any thoughts on an efficient method?
Hoyt