This is an old revision of the document!
Output a finite pulse train on the specified pin using a PIO state machine.
from cubloc import StepPulse StepPulse(channel: int, pin: int, freq: int, qty: int)
StepPulse channel number (0 or 1).Output GPIO pin number.Output frequency in pulses per second (1 to 15000).from cubloc import StepPulse # Example usage StepPulse(0, 0, 1, 1)