82
"C" Programming Guide For Optimus S/R
SetContrast
Purpose
To set the contrast level of the LCD.
Syntax
void SetContrast (int level);
Example
SetContrast (4);
Description
This routine specifies the contrast level of the LCD, and the valid value ranges
from 0 (low) to 7 (high).
Return
None
See Also
DecContrast, GetContrast, IncContrast
SetVideoMode
Purpose
To set the display mode of the LCD.
Syntax
void SetVideoMode (int mode);
int mode; /* video mode, reverse or normal */
Example
SetVideoMode (VIDEO_REVERSE); /* set reverse video mode */
Description
This routine determines the display mode of the LCD.
The value of the parameter
mode
can be one of the following:
VIDEO_NORMAL (0)
: Normal mode in use
VIDEO_REVERSE (1)
: Reverse mode in use
Return
None
See Also
GetVideoMode
Summary of Contents for Optimus R
Page 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Page 6: ......
Page 8: ...2 C Programming Guide For Optimus S R...
Page 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Page 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Page 24: ...18 C Programming Guide For Optimus S R...
Page 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...