Closed Bengt-M closed 8 years ago
Thanks, I fixed it by changing the constrain function to the float version, constrainf. Don't know why it didn't work with the int version.
That is better since pSS->servoVal is a float. I guess it was a type cast that never happened.
For some reason this seems to work better. You try before and after...