السلام عليكم ورحمة الله وبركاته
I want a programme waits for edge captures on the input capture pin
An edge capture occurs when a falling edge is detected on the pin
The time delay to the edge capture is compared with the time delay as measured by the Real Time Clock. Both values are sent to the Com1 serial port so you can compare the values.
اريد هذا البرنامج بلغة mikroc وهنفذه على pic 16f877A