tengo un encoder de 2048 impulsos ttl por vuelta se puede conectar a una entrada del pic 16f84a y por una salida tener solo 10 impulsos
Hello,
Easy to resolve. Take the 2048 readings and scale to 10. resultvar = Scale( reading_2048, 0, 2047, 0, 9 )
resultvar = Scale( reading_2048, 0, 2047, 0, 9 )
This will scale from one to another.
Hope this helps.
Log in to post a comment.
tengo un encoder de 2048 impulsos ttl por vuelta
se puede conectar a una entrada del pic 16f84a y por una salida tener solo 10 impulsos
Hello,
Easy to resolve. Take the 2048 readings and scale to 10.
resultvar = Scale( reading_2048, 0, 2047, 0, 9 )
This will scale from one to another.
Hope this helps.