def attach(self, pwm_pin):
    if (self.pwm_pin):
      # Already attached to a pin, detach first
      self.detach()
    self.pwm_pin = pwm_pin

    pwmFrequency(self.pwm_pin, self.pwm_freq)
    self.period_ms = 1000.0/self.pwm_freq
Returns JointProbabilityDistribution as a Factor object
dataset/ETHPy150Open graycatlabs/PyBBIO/bbio/libraries/Servo/Servo.py/Servo.attach--crossover with--dataset/ETHPy150Open pgmpy/pgmpy/pgmpy/factors/JointProbabilityDistribution.py/JointProbabilityDistribution.to_factor