You are comparing the ADC Output (which is in digital form) with another threshold voltage (which is also in digital form)? Can you please tell me how you are feeding that threshold voltage to the PSoC?
If both are in digital form, the you can simply compare them in the firmware. If the Threashold voltage is to be fed in analog form and then it is converted to digital, then you can use another channel of the ADC to convert this analog threshold voltage.
- Madhu Sudhan
Hi the threshold is just a 2V value so I will just be comparing that in digital form. But I wanted to know what component I should use? Once the digital converted voltage comes out the ADC, what should I feed it into to compare?