private class Blinker.SwitchTask extends TimerTask
| Modifier and Type | Field and Description |
|---|---|
private boolean |
action
The string to write to the serial port.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SwitchTask(boolean cmd)
Constructs a new switch task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Writes the switch command to the serial port.
|
cancel, scheduledExecutionTime