AnsweredAssumed Answered

vrf Filtering sample count

Question asked by amrik.sekhon on May 13, 2004
I am trying to read a position from an encoder.

I start at zero and and every time zero is present the counter should be
incremented by one.

However before the routine reaches its start point the zero from the
position encoder has been present for about 10k cycles, so my counter has
some large value on it.

I need to filter this so that the routine can distinguish a zero and count
it as one, then the first part of the routine is run and the position
encoder increments to value x and returns to zero, where my counter should
be incremented by 1 not y amount of cycles.

Hope this makes sense



You are currently subscribed to vrf as:
To subscribe send a blank email to "".
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".