Exemple #1
0
 def setHWPWMpolarity(self, channel, polarity):
     self.checkPostingValueAllowed()
     GPIO.HWPWMsetPolarity(channel, polarity)
     return GPIO.HWPWMgetPolarity(channel)
Exemple #2
0
 def getHWPWMpolarity(self, channel):
     return GPIO.HWPWMgetPolarity(channel)