For portability, create a wrapper function for each servo to write to them. The write method can then be changed within this function when implementing with different hardware, but won't break compatibility with other functions (semaphore, Kinect, etc).
These functions should also implement degree standards and apply transformations to input degrees.
For portability, create a wrapper function for each servo to write to them. The write method can then be changed within this function when implementing with different hardware, but won't break compatibility with other functions (semaphore, Kinect, etc).
These functions should also implement degree standards and apply transformations to input degrees.