示例#1
0
 def setHWPWMDuty(self, channel, duty):
     self.checkPostingValueAllowed()
     GPIO.HWPWMsetDuty(channel, duty)
     return GPIO.HWPWMgetDuty(channel)
示例#2
0
 def getHWPWMDuty(self, channel):
     return GPIO.HWPWMgetDuty(channel)