Utilizing a laser and a photo transistor and a PIC16F628A with an onboard 4mhz oscillator, I would like to extract (as a variable of data) the time of how long the beam is cut and how long it is uncut. How do you do it? I have no clue.