public class EV3Led extends EV3DevDevice
Modifier and Type | Field and Description |
---|---|
private int |
direction |
static int |
LEFT |
private static Logger |
log |
static int |
RIGHT |
ADDRESS, DEVICE, LEGO_PORT, LEGO_SENSOR, MODE, PATH_DEVICE
EV3DEV_ROOT_PATH, EV3DEV_TESTING_KEY, ROOT_PATH
Constructor and Description |
---|
EV3Led(int button) |
Modifier and Type | Method and Description |
---|---|
void |
setPattern(int pattern)
0: turn off button lights
1/2/3: static light green/red/yellow
4/5/6: normal blinking light green/red/yellow
7/8/9: fast blinking light green/red/yellow
>9: same as 9.
|
detect, getIntegerAttribute, getStringAttribute, setIntegerAttribute, setStringAttribute
getMotorPort, getPlatform, getSensorPort
getROOT_PATH
private static final Logger log
public static final int LEFT
public static final int RIGHT
private final int direction