Package | Description |
---|---|
com.pi4j.component.motor | |
com.pi4j.component.motor.impl |
Modifier and Type | Method and Description |
---|---|
abstract MotorState |
MotorBase.getState() |
MotorState |
Motor.getState() |
static MotorState |
MotorState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MotorState[] |
MotorState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MotorBase.isState(MotorState state) |
boolean |
Motor.isState(MotorState state) |
abstract void |
MotorBase.setState(MotorState state) |
void |
Motor.setState(MotorState state) |
Modifier and Type | Method and Description |
---|---|
MotorState |
GpioStepperMotorComponent.getState()
Return the current motor state
|
Modifier and Type | Method and Description |
---|---|
void |
GpioStepperMotorComponent.setState(MotorState state)
change the current stepper motor state
|
Copyright © 2012–2014 Pi4J. All rights reserved.