Пример #1
0
 def setDisabled(self):
     """Temporarily disables the PWM output. The next set call will reenable
     the output.
     """
     hal.setPWMDisabled(self.handle)
Пример #2
0
def _freePWM(handle):
    hal.setPWMDisabled(handle)
    hal.freePWMPort(handle)
Пример #3
0
def _freePWM(handle: hal.DigitalHandle) -> None:
    hal.setPWMDisabled(handle)
    hal.freePWMPort(handle)
Пример #4
0
 def setDisabled(self):
     """Temporarily disables the PWM output. The next set call will reenable
     the output.
     """
     hal.setPWMDisabled(self.handle)
Пример #5
0
def _freePWM(handle):
    hal.setPWMDisabled(handle)
    hal.freePWMPort(handle)
Пример #6
0
def _freePWM(handle: hal.DigitalHandle) -> None:
    hal.setPWMDisabled(handle)
    hal.freePWMPort(handle)