<s> from Adafruit_PWM_Servo_Driver import PWM <EOL> class Servos ( object ) : <EOL> def __init__ ( self , i2cAddress , xAxisChannel , yAxisChannel , pwmFreqHz ) : <EOL> self . pwm = PWM ( i2cAddress , debug = True ) <EOL> self . pwm . setPWMFreq ( pwmFreqHz ) <EOL> self . xaxis = xAxisChannel <EOL> self . yaxis = yAxisChannel <EOL> def setXAxis ( self , value ) : <EOL> self . pwm . setPWM ( self . xaxis , <NUM_LIT:0> , value ) <EOL> def setYAxis ( self , value ) : <EOL> self . pwm . setPWM ( self . yaxis , <NUM_LIT:0> , value ) </s>
