Table of Contents

StepStop

Immediately stop pulse output on the specified step channel.

Syntax

from cubloc import StepStop
 
StepStop(channel: int)

Parameters

Exceptions

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