def setHWPWMperiod(self, channel, period): self.checkPostingValueAllowed() GPIO.HWPWMsetPeriod(channel, period) return GPIO.HWPWMgetPeriod(channel)
def getHWPWMperiod(self, channel): return GPIO.HWPWMgetPeriod(channel)