Lcd/Keypad Module Function Calls; Lcd/Keypad Module Initialization; Leds - Rabbit RabbitCore RCM3100 User Manual

C-programmable module
Hide thumbs Also See for RabbitCore RCM3100:
Table of Contents

Advertisement

Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com
C.7 LCD/Keypad Module Function Calls
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.7.1 LCD/Keypad Module Initialization
The function used to initialize the LCD/keypad module can be found in the Dynamic C
LIB\DISPLAYS\LCD122KEY7.LIB
void dispInit();
Initializes the LCD/keypad module. The keypad is set up using keypadDef() or keyConfig() after
this function call.
RETURN VALUE
None.
C.7.2 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
One function is available to control the LEDs, and can be found in the
library.
LCD122KEY7.LIB
void ledOut(int led, int value);
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.
66
library.
function executes.
brdInit
LIB\DISPLAYS\
RabbitCore RCM3100

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rabbitcore rcm3110

Table of Contents