Yep, this is the same conversation we had on a different thread… You have a very specific idea for the use of the SSC-32 offsets, and that is to once you adjust the position of the servo horn, by removing it and rotating it be within 15 degrees of the standard 0 location, you can then use the SSC-32 registers to do the final tweaking to get it zeroed. Zenta took a different approach and that was to leave the servos with their servo horns in the default horizontal/vertical alignment and then found the right logical zero point without adjusting the hardware. As this turned out to exceed 15 degrees he could not use the SSC-32 offsets for this and thus had the code simply add/subtract it in the servo driver code.
It is just two different approaches. Each have their pluses and minus. With the way the SSC-32 is defined, doing it the way Jim mentioned, gives you the benefit that once you adjust the servo horn to near 15 degrees of the desired zero point, you have more or less 90 degrees in both directions from the zero point. If you do without adjusting the servo horns and lets say your zero point is near 30 degrees from zero (1500 pulse), then you will only have something like 60 degrees in one direction and like 210 in the other. That may be good or bad for you… The benefit of Zenta’s approach is that it is a lot easier to prototype and try out different zero angles as you don’t have to change the hardware if you want to go a little farther… Also it helps minimize making the error of forgetting to move the servo horn by 1 or 2 clicks… But again both ways work!
So in Zenta’s code yes the 183 was probably specific to his setup, yours will probably be different.
Good Luck