This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Implementing a ADC value comparison with threshold

Hi,

I'm using TMS320C2000 experimenter kit.

I want to compare two ADC values with a certain threshold

Something like:

if (AdcMirror.ADCRESULT0==AdcMirror.ADCRESULT1 +/-0.2Volt) {}

Is it a simple way to do it?

Thanks