- when using it as an manual input you can easily do 1-2rev per second. That is 600-1200 pulses/sec single phase (and it gives probably more in the quadrature mode). The routine uses millis() for the measurements - so to overload the sw could be easy then.. Try to use micros() instead. Also you may try to decrease the.. 600 pulses/revolution for a single phase..
Code: Select all
#define ENCODER_RATE 1000 // in microseconds;
Users browsing this forum: No registered users and 3 guests