public class SimpleRandomModule
extends org.dajlab.core.DaJLabModule
| Constructor and Description |
|---|
SimpleRandomModule(ControlLabInterface controlLab,
OutputModel outputModel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
codeThread() |
void |
onLaunch() |
void |
onStop() |
void |
reverse()
Reverse the ouput.
|
void |
setPower(int power)
Set power.
|
void |
startMotor()
Restart a new tread.
|
void |
updateRange()
Update range.
|
public SimpleRandomModule(ControlLabInterface controlLab, OutputModel outputModel)
controlLab - control lab interfaceoutputModel - output modelpublic void codeThread()
codeThread in class org.dajlab.core.DaJLabModulepublic void onLaunch()
onLaunch in class org.dajlab.core.DaJLabModulepublic void onStop()
onStop in class org.dajlab.core.DaJLabModulepublic void startMotor()
public void setPower(int power)
power - powerpublic void reverse()
public void updateRange()
Copyright © 2018. All rights reserved.