コード例 #1
0
ファイル: gpio.py プロジェクト: xie-xuan/rpi3-webiopi
 def setHWPWMport(self, channel, port):
     self.checkPostingValueAllowed()
     GPIO.HWPWMsetPort(channel, port)
     return GPIO.HWPWMgetPort(channel)
コード例 #2
0
ファイル: gpio.py プロジェクト: xie-xuan/rpi3-webiopi
 def get(self, channel):
     return GPIO.HWPWMgetPort(channel)