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