Yes, it is to test if I can use a comparator. Dont look to the details because the signal what is comming into the sysstem is very high.
I DO NOT HAVE A HARDWARE PROBLEM.
The probem is: how can I catch the comparator output in my programm.