46
Wildcat (BL2000)
4.4.4 Relay and LED Outputs
Sets the state of a relay.
The relay is driven by PA0, which is the same Rabbit 2000 parallel port that drives OUT0 and LED DS4.
OUT0 therefore works in parallel with the relay output. Rabbit therefore recommends that you do not use
OUT0 for a digital output when you are using the relay.
PARAMETERS
relay
is the relay to control, 0 = Relay 0.
value
is the value used to connect the relay common contact to one of the following contacts:
0 = relay common connected to relay normally closed contact
1 = relay common connected to relay normally open contact
SEE ALSO
brdInit
LED ON/OFF control.
The relay is driven by PA0, which is the same Rabbit 2000 parallel port that drives OUT0 and LED0.
OUT0 therefore works in parallel with the relay output. Rabbit therefore recommends that you do not use
OUT0 for a digital output when you are using the relay. The relay and OUT0 are also turned on when
LED0 is turned on.
PARAMETERS
led
is the LED to control:
0 = OUT0 LED
1 = OUT1 LED
2 = OUT2 LED
3 = OUT3 LED
4 = BAD indicator
value is the value used to control the LED:
0 = OFF
1 = ON
SEE ALSO
brdInit
void relayOut(int relay, int value);
void ledOut(int led, int value);
Summary of Contents for BL2020
Page 38: ...34 Wildcat BL2000...
Page 84: ...80 Wildcat BL2000...
Page 88: ...84 Wildcat BL2000...
Page 92: ...88 Wildcat BL2000...
Page 94: ......