outsider:
int encoderVal = 0.157;Try:
float encoderVal = 0.157;
Awesome progress thank you for that it now is displaying 1.16 however it is still counting by 1 when the encoder is rotated. So it goes from 1.16 to 2.16 ect... Can you give me an explanation of what the float command is? I greatly appreciate the help but rather than plugging in a command and saying yay it works I'd like to know why. Thank you again so very much!
PaulS:
0.157 what? Hamburgers per fortnight?
Well, you can't read less than one pulse, so trying to isn't going to work too well, either.
Sorry I should have clarified .157 inches, and reading the quoted statement yes reading less than one pulse doesn't work either. What I meant and my apologies for not being clear displaying 1 per pulse doesn't work well, I need to display .157 inches per pulse.