User’s Manual
45
C.5 LCD/Keypad Module Function APIs
When mounted on the Prototyping Board, the LCD/keypad module uses the auxiliary I/O
bus on the Rabbit 3000 chip. Remember to add the line
#define PORTA_AUX_IO
to the beginning of any programs using the auxiliary I/O bus.
C.5.1 LEDs
When power is applied to the LCD/keypad module for the first time, the red LED (DS1)
will come on, indicating that power is being applied to the LCD/keypad module. The red
LED is turned off when the
brdInit
function executes.
One function is available to control the LEDs, and can be found in the
RCM3200.LIB
library in the
SAMPLES\RCM3200
directory.
LED on/off control. This function will only work when the LCD/keypad module is installed on the
Prototyping Board.
PARAMETERS
led
is the LED to control.
0 = LED DS1
1 = LED DS2
2 = LED DS3
3 = LED DS4
4 = LED DS5
5 = LED DS6
6 = LED DS7
value
is the value used to control whether the LED is on or off (0 or 1).
0 = off
1 = on
RETURN VALUE
None.
SEE ALSO
brdInit
void ledOut(int led, int value);
Summary of Contents for RabbitCore RCM3200
Page 1: ...RabbitCore RCM3200 C Programmable Module with Ethernet User s Manual 019 0118 020923 A ...
Page 8: ...4 RabbitCore RCM3200 ...
Page 20: ...16 RabbitCore RCM3200 ...
Page 44: ...40 RabbitCore RCM3200 ...
Page 70: ...66 RabbitCore RCM3200 ...
Page 76: ...72 RabbitCore RCM3200 ...
Page 88: ...84 RabbitCore RCM3200 ...
Page 92: ......