
User’s Manual
97
C.7 LCD/Keypad Module Function Calls
The LCD/keypad module is normally off. Add the
devPowerSet
function call after
brdInit
to turn on the LCD/keypad buffers.
brdInit(); // Initialize the LP3500
devPowerSet(DISPDEV, 1); // Enable LCD/keypad buffer
C.7.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
LIB\Rabbit3000\
DISPLAYS\LCD122KEY7.LIB
library.
LED on/off control. This function will only work when the LCD/keypad module is connected to the
LP3500.
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 dispLedOut(int led, int value);
Содержание Fox LP3500
Страница 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...
Страница 6: ...Fox LP3500...
Страница 14: ...8 Fox LP3500...
Страница 22: ...16 Fox LP3500...
Страница 44: ...38 Fox LP3500...
Страница 90: ...84 Fox LP3500...
Страница 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...
Страница 134: ...128 Fox LP3500...
Страница 140: ...134 Fox LP3500...
Страница 142: ......