Hi, Ioannis

The problem here is the sensor "1" level lasts only 1µS ....

the only solution I see here is use an asm part to generate the high state and test the pin as soon as end of high state .

If i remember ... it's the trick used to test if a pin is low, high or Hi-Z ... !!!

( thanks for the last picture, Sayzer ...)

Alain