Quote:
Originally Posted by GeeTwo
I don't agree here at all. If you have a working, well tested abstraction that does exactly what you want it to do but can be easily adjusted if the parameters are just a bit off, and you have enough resources to implement it, why would you work around it?
|
You're missing what I'm saying. servo.write() takes 0 to 180 degrees as an input and controls a "Servo". servo.writeMicroseconds() explicitly takes the pulse you would like to generate, which for a talon is 1000-2000 w/ 1500 at center. This leaves you a nice +/- 500 integer swing for clean math.