User Tools

Site Tools

한국어

logicpython:cubloc_api:stepstop

This is an old revision of the document!


StepStop

Immediately stop pulse output on the specified step channel.

Syntax

from cubloc import StepStop
 
StepStop(channel: int)

Parameters

  • channel: StepPulse channel number (0 or 1).

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
logicpython/cubloc_api/stepstop.1776835691.txt.gz · Last modified: by mfranklin