
PT-20 Programming Guide
int _putchar_color(int color, char c);
_putchar_color(COLOR_BLACK, ‘A’);
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 string in color black on the LCD display.
char _puts (char* string)
The puts function sends a character string whose address is specified in
the argument string to the LCD display starting from the current cursor
position. The cursor is moved accordingly as each character of string is
sent to the LCD display. The operation continues until a terminating null
character is encountered.
The puts function returns the number characters sent to the LCD display.
Display a string in color black on the LCD display.
char _puts_color(int colorindex, char* string);
_puts_ color (COLOR_RED, “Hello World”);
The puts function sends a character string in user define color whose
address is specified in the argument string to the LCD display starting
from the current cursor position. The cursor is moved accordingly as each
character of string is sent to the LCD display. The operation continues
until a terminating null character is encountered.
The puts function returns the number characters sent to the LCD display
in user define color.
Put a rectangular bitmap to the LCD display.
void show_image_bmp(int left, int top, int width, int height, const void
*pat);
show_image_ bmp (10,5,60,30,buffer);
Commenti su questo manuale