def __init__(self, pin_number, period=0.01, mode=io.BCM):
        self.pin_number = pin_number  # Read Only
        self.period = period
        self.value = 0.0  # Read Only
        self.range = (0, 1)
        self._thread = threading.Thread(target=self._worker)
        self._stopped = True

        io.setmode(mode)
        io.setup(pin_number, io.OUT)
        self._thread.start()
Parameters
dataset/ETHPy150Open jminardi/RobotBrain/robot_brain/actuators/pwm_actuator.py/PWMActuator.__init__