This is an old revision of the document!
Return how many pulses have been generated by the most recent StepPulse or StepAccel command on the channel.
from cubloc import StepStat StepStat(pin: int)
StepPulse or StepAcce.
Return how many pulses have been generated by the most recent StepPulse or StepAccel command on the pin.
pin is not an integer.pin is outside the supported range.from cubloc import StepStat # Example usage StepPulse(15, 2000, 5000) result = StepStat(15) print(result) while True: pass