Debug statements effect on servos
I notice that whenever I have Debug statements on my program that it effects my servo performance so that having several debug commands will result in my servos running very "choppy" and as I remove each statment the smoother they will run.· Can someone explain why this is happening?
Comments
Ordinarily, you want to refresh the servo command 50 times per second. Try shortening or removing any PAUSE command yo have in your servo loop.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering