Monetary Monetary
Newbie level 3
hie guys, need your help to calculate speed taken by a moving vehicle and display it on LCD.it passes through two pairs of IR sensors which are a fixed distance apart using timers in PIC 16F877A with a 20Mhz oscillator i am using micro c.
it activates timer when it passes 1st sensor and deactivates timer when it passes 2nd sensor but how do i find time taken in micro c
it activates timer when it passes 1st sensor and deactivates timer when it passes 2nd sensor but how do i find time taken in micro c