Table of Contents

StepAccel

Output an accelerated, finite pulse train on the specified pin using a PIO state machine.

Syntax

from cubloc import StepAccel
 
StepAccel(
    pin: int,
    freqBase: int,
    freqTop: int,
    freqAccel: int,
    qty: int)

Parameters

Exceptions

Notes

Example

from cubloc import StepAccel
 
StepAccel(15, 1000, 5000, 2000, 50000)
 
while True:
    pass