public interface OutputInterface
| Modifier and Type | Method and Description |
|---|---|
void |
backward()
Backward but not start the output.
|
void |
backwardAndRun()
Backward and start the output.
|
void |
forward()
Forward but not start the output.
|
void |
forwardAndRun()
Forward and start the output.
|
void |
reverseDirection()
Reverse direction of the output.
|
void |
run()
Power on the output.
|
void |
runFor(int time)
Power on the output for the given time.
|
void |
setCyclicMode(int on,
int off)
Set cyle mode.
|
void |
setPower(int power)
Set the power.
|
void |
startCycle()
Start cycle mode.
|
void |
stop()
Power off the output.
|
void forwardAndRun()
void backwardAndRun()
void reverseDirection()
void run()
void stop()
void backward()
void forward()
void setPower(int power)
power - a power.void runFor(int time)
time - time to power on (in 1/10 seconds)void setCyclicMode(int on,
int off)
on - : time to power on (in 1/10s).off - : time to power off (in 1/10s).startCycle()void startCycle()
run(),
forwardAndRun(),
backwardAndRun()Copyright © 2018. All rights reserved.