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