Angular Speed with arduino

Please read #7 of this "How to use the Forum" post in order to post your code using the code tags.
http://forum.arduino.cc/index.php/topic,148850.0.html

You can modify the posting you just made.

Learning to use code tags is a "skills filter". If you can't figure out how get your posted code within code tags, there is no hope that you can solve your problem.