cancel
Showing results for 
Search instead for 
Did you mean: 

quadrature encoder value

waaizkhan
Associate II
Posted on June 07, 2015 at 19:47

hi everyone  i m going to interface encoder with motor the encoder is working perfectly and counting up to 0xFFFF in clock wise direction but when i rotate in counter clockwise direction it,s counting from 0 but from counter the value is start from 4294966870 

i know that in hex 0-1=FFFF how to change it to -1 

Encoder_Reading  = TIM_GetCounter(TIM5);

Thanks in advance
0 REPLIES 0