|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.wagner_ibw.appl.RFSwitch
This simple application controls five consumer loads by rf remote control. See here.
Field Summary | |
static int |
PIN_A
Defined control bit of the IO-Warrior's port for load 'A'. |
static int |
PIN_B
Defined control bit of the IO-Warrior's port for load 'B'. |
static int |
PIN_C
Defined control bit of the IO-Warrior's port for load 'C'. |
static int |
PIN_D
Defined control bit of the IO-Warrior's port for load 'D'. |
static int |
PIN_E
|
static int |
PIN_OFF
Defined control bit of the IO-Warrior's port for command 'off'. |
static int |
PIN_ON
Defined control bit of the IO-Warrior's port for command 'on'. |
static int |
PORT
Defined control port of the IO-Warrior. |
Constructor Summary | |
RFSwitch(AbstractIowDevice dev)
Constructor. |
Method Summary | |
void |
doSwitch(char load,
java.lang.String action)
Switch the load. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int PORT
public static int PIN_A
public static int PIN_B
public static int PIN_C
public static int PIN_D
public static int PIN_E
public static int PIN_ON
public static int PIN_OFF
Constructor Detail |
public RFSwitch(AbstractIowDevice dev)
dev
- Underlying IO-Warrior device.Method Detail |
public void doSwitch(char load, java.lang.String action)
load
- action
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |