code: def change_digital(self, pin_nr, value):
          
          if not self._board:
              return
          with self._lock:
              self._act_digital[pin_nr].pin.write(value)
docs: Change digital Pin value (boolean). Also PWM supported(float)