HI
I am working on calculating speed of object. I have used two LDRs.
What i am trying to do is that when the object cut of the light of some laser with first LDR the timer starts and when it connect with second the timer stops. I have problem with time calculating. I am using PIC 16F877a which has 8 bit timer. it can only store count between 0-255.
Kindly help that how to use timer and do time calculations. I am stuck with prescaler, timer, polling and time calculations. Need help.
Thanks for time
I am working on calculating speed of object. I have used two LDRs.
What i am trying to do is that when the object cut of the light of some laser with first LDR the timer starts and when it connect with second the timer stops. I have problem with time calculating. I am using PIC 16F877a which has 8 bit timer. it can only store count between 0-255.
Kindly help that how to use timer and do time calculations. I am stuck with prescaler, timer, polling and time calculations. Need help.
Thanks for time