I'm new to the arduino and am playing around with a couple of servos. In looking at the following line of code from servo.cpp that is in the playground library:
pulse0 = (min1616LclockCyclesPerMicrosecond() + (max16-min16)(16LclockCyclesPerMicrosecond())*angle/180L)/64L;
Can't this just be reduced to:
pulse0 = (max1616LclockCyclesPerMicrosecond()*angle/180L)/64L;
Which most likely isn't what the author intended (as there is no min16 term in the second equation).