You can’t compare apples and oranges, but what you can do is compare two voltages.
A voltage comparator on a click board, Comparator click carries the LM2903 IC, three pairs of screw terminals (for two inputs and two for GND), and two potentiometers for configuring the set point voltage.
Comparators like these are useful when paired with analog sensors. So the voltage from an analog temperature or light sensor may be used as an input, and you’d use the potentiometer to set a reference against which to compare the physical value. When one value exceeds the other, an interrupt signal is triggered.
In this case, one through the mikroBUS™ INT pin, the other in place of the default mikroBUS™ AN pin (which is kind of appropriate, given the nature of the board)
Two onboard LEDs will also provide feedback.
The onboard jumpers are for configuring the logic level of the generated Interrupt signal.
More details on the product page. The Libstock example is also ready.
Yours sincerely,
MikroElektronika