Amalinda
Banned
I am using a laser connected to some logic circuit to make a 1--> 0--> 1 in the logic when a person goes in between the laser and the LDR.
I am counting the time till the second person comes in. That means when the second person comes in the timer must stop. i.e. when the output of the external circuit goes again from 1-->0 ---> 1.
I want to calculate the time between these events using a PIC16f77A or 18F.
I would prefer a 16F877A.
Please if anyone knows how to do the coding to this I would really appreciate.
I would prefer if the coding is in micro C Pro for PIC version.
but even if its in Assembly I can totally understand.
thank you a lot in advance.
I am counting the time till the second person comes in. That means when the second person comes in the timer must stop. i.e. when the output of the external circuit goes again from 1-->0 ---> 1.
I want to calculate the time between these events using a PIC16f77A or 18F.
I would prefer a 16F877A.
Please if anyone knows how to do the coding to this I would really appreciate.
I would prefer if the coding is in micro C Pro for PIC version.
but even if its in Assembly I can totally understand.
thank you a lot in advance.