@douma-rahma yes, I am using determining the Pulsewidth. can use TTLUART (like you) and analog I think but I found measuring pulsewidth easiest