====== StepStop ======
Immediately stop pulse output on the specified step ''channel''.
===== Syntax =====
from cubloc import StepStop
StepStop(channel: int)
===== Parameters =====
* **pin**: The GPIO pin on which ''StepPulse'' or ''StepAccel'' was used.
===== 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 outside the supported range.
===== Example =====
from time import sleep_ms
from cubloc import StepStop
# Start a pulse train and let it run for 5 seconds
StepPulse(15, 2000, 5000)
sleep_ms(5000)
# Stop the pulse train
StepStop(0)
while True:
pass
===== Related APIs =====
* [[logicpython:cubloc_api:stepaccel|StepAccel]]
* [[logicpython:cubloc_api:steppulse|StepPulse]]
* [[logicpython:cubloc_api:stepstat|StepStat]]