plz help me i want to use a pic 16f876 in order to measure the speed of dc motor. i have phototransistor pilse signal and a whell with 200 holes.