示例#1
0
    def setRaw(self, value: int) -> None:
        """Set the PWM value directly to the hardware.

        Write a raw value to a PWM channel.

        :param value: Raw PWM value.  Range 0 - 255.
        """
        hal.setPWMRaw(self.handle, value)
示例#2
0
    def setRaw(self, value: int) -> None:
        """Set the PWM value directly to the hardware.

        Write a raw value to a PWM channel.

        :param value: Raw PWM value.  Range 0 - 255.
        """
        hal.setPWMRaw(self.handle, value)