That sounds perfect, since the pulse could be a short as 2 uS. I am using a PIC12F509 and if you could please give me an example for this one I will really apreciate it...
By the way, what I need is to toggle pin GPIO.2 from 1 to 0 when this pulse arives in GPIO.1 and this should be as fast as possible, since the actual 1 to 0 edge is used to measure distance.




Bookmarks