I recently bought https://www.sparkfun.../products/11102 from Sparkfun. i used the code from netduino wiki http://wiki.netduino...oder-Input.ashx to get values from this encoder and when i rotate the shaft of the encoder everything works fine, i get the position and direction.
However when i coupled it with a stepper motor and try to run it, i get the position and direction values for sometime and then it starts throwing out of memory exception.
I noticed that if i rotate the shaft of the encoder quickly i get the same exception (even without the stepper motor).
Has anyone faced a similar problem?