CircuitPython driver library for TIC stepper motor drivers.
Author(s): Alec Delaney
Implementation Notes
Hardware:
TIC stepper motor drivers
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases
Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
Adafruit’s Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register
- class circuitpython_ticstepper.TicMotor(step_mode: StepModeValues = (0, 1), *, steps_per_rev=200)
Base class for TIC stepper motors.
- Parameters:
step_mode (StepModeValues) – The step mode to use
Initialize the Tic stepper motor.
- drive(rpm: float) None
Drive the motor at a given speed.
- Parameters:
rpm (float) – The speed to move the motor in RPM
- move(units: int) None
Move the given number of steps/microsteps.
- Parameters:
units (int) – The number of steps/microsteps to move
- property step_mode: StepMode
The stepper step mode.