Warning
This documentation is for an unreleased version of MPF!
This is the developer documentation for MPF 0.54, which is the “dev” (next) release of MPF that is a work-in-progress. Use the “Read the Docs” link in the lower left corner to view the developer docs for the version of MPF you’re using.
self.machine.hardware_platforms[‘step_stick’]¶
-
class
mpf.platforms.step_stick.
StepStickDigitalOutputPlatform
(machine)¶ Bases:
mpf.core.platform.StepperPlatform
Drive a stepper using a StepStick controller on a digital output.
Accessing the step_stick platform via code
Hardware platforms are stored in the
self.machine.hardware_platforms
dictionary, so the step_stick platform is available viaself.machine.hardware_platforms['step_stick']
.Methods & Attributes
The step_stick platform has the following methods & attributes available. Note that methods & attributes inherited from base classes are not included here.
-
configure_stepper
(number: str, config: dict) → mpf.platforms.interfaces.stepper_platform_interface.StepperPlatformInterface¶ Configure a stepper driven by StepStick on a digital output.
-
classmethod
get_stepper_config_section
()¶ Return config section.
-