示例#1
0
    def pulsewidth(self, seconds):
        """
        pulsewidth(Pwm self, float seconds) -> mraa::Result

        Parameters:
            seconds: float

        """
        return _mraa.Pwm_pulsewidth(self, seconds)
示例#2
0
    def pulsewidth(self, seconds):
        """
        pulsewidth(Pwm self, float seconds) -> mraa::Result

        Parameters
        ----------
        seconds: float




        Set pulsewidth, as represented by seconds in a float

        Parameters:
        -----------

        seconds:  The duration of a pulse

        Result of operation 
        """
        return _mraa.Pwm_pulsewidth(self, seconds)
示例#3
0
 def pulsewidth(self, seconds):
     return _mraa.Pwm_pulsewidth(self, seconds)