====== PwmOff ====== Stop PWM output on the specified ''channel''. ===== Syntax ===== from cubloc import PWMOff PWMOff(channel: int) ===== Parameters ===== * **pin**: GPIO pin number ===== Exceptions ===== * [[https://docs.micropython.org/en/latest/library/builtins.html#TypeError|TypeError]]: ''channel'' is not an integer. * [[https://docs.micropython.org/en/latest/library/builtins.html#ValueError|ValueError]]: ''channel'' is out of range. ===== Example ===== from cubloc import PWMOff # Example usage PWMOff(0) ===== Related APIs ===== * [[logicpython:cubloc_api:pwm|PWM]]