
PT-20 Programming Guide
The lcd_backlit_Getlv gets LCD backlight level.
LCD backlight level for 1~5.
int lcd_backlit_GetTimer(void);
lcd_backlit_GetTimer( );//Get LCD backlight timer.
The lcd_backlit_GetTimer gets LCD backlight timer.
LCD backlight timer for 0~65535.
Use _printf_color to write character strings and volues of C variables,
formatted in a specified manner, to display screen.
int _printf_color(int color, char *format, ...);
_printf_color(COLOR_RED, “The product of %d and %d is %d\n”, x, y,
x*y);
The _printf_color function accepts a variable number of arguments and
prints them out to display screen. The value of each argument is
formatted according to the codes embedded in the format specification
format_string. If the format_string does not contain a % character (except
for the pair %%, which appears as a single % in the output), no argument
is expected and the format_string is written out to display screen. For the
complete format specification accepted by the _printf function, please
refer to the same function in Turbo C++.
The _printf_color function returns the number of characters it has printed.
In case of error, it returns EOF
Display a character in color black on the LCD display.
The putchar function sends the character specified in the argument c to
the LCD display at the current cursor position and moves the cursor
accordingly.
Display a character in user define color on the LCD display.
Komentarze do niniejszej Instrukcji