hello, i am doing my project using lpc2148 development board. In my project, i made an encoder for the DC motor with the help of IR Sensor. i attached a white piece of paper on the wheel to count the no. of revolutions. The output of the sensor is given as a alternating sequences of "0" (when black surface appears) and "1" ( when white surface appears). this output from the senor is fed to the ARM board. Can please suggest me the procedure for finding the no. of revolutions with the help of counters in ARM processor.