oh... and btw, you should use timer interrupts on arduino to accurately sense when the output from your comparator is changing if you're talking about fast speeds here
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16