
91
Returns
:
None
gotoxy
Purpose
:
Move cursor to new position.
Syntax
:
int gotoxy(int x_position, int y_position);
Example call
:
gotoxy(3,2);/* Move to second line of the third row */
Includes
:
#include “LIB_CL.h ”
Description
:
The gotoxy function moves the cursor to a new position whose
coordinate is specified in the argument x_position and y_position.
Returns
:
Normally the gotoxy function will return an integer value of 1 when
operation completes. In case of LCD fault, 0 is returned to indicate
error.
IncContrast
Purpose
:
Increase the LCD contrast
Syntax
:
void IncContrast(void);
Example call
:
IncContrast( );
Includes
:
#include “LIB_CL.h ”
Description
:
The IncContrast function will increase the LCD contrast by one level
whenever it is being called. However, the highest contrast level is 7.
Returns
:
None
lcd_backlit
Purpose
:
Set LCD backlight
Syntax
:
void lcd_backlit(int state);
Example call
:
lcd_backlit(1);/*start LCD backlight*/
Includes
:
#include “LIB_CL.h ”
Description
:
The lcd_backlit turns the LCD backlight on or off depending on the
value of state. The backlight will be on if state is 1, off if 0.
The system global variable BKLIT_TIMEOUT can be used to specify
the backlight duration in unit of second. But if this value is set to zero,
the backlight will be on until the backlight state is set to off or user turn
off it manually. The value of BKLIT_TIMEOUT is 0 to 9, time of
backlight is 3*(1+BKLIT_TIMEOUT) second.
Returns
:
None
_putchar
Purpose
:
Display a character on the LCD display.
Syntax
:
int _putchar(char c);
Example call
:
_putchar(‘A’);
Includes
:
#include “LIB_CL.h ”
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...