Puts, Puts_color, Show_image_bmp – Argox PA-20 Programming Guide User Manual
Page 83

PT-20 Programming Guide
81
Syntax: int _putchar_color(int color, char c);
Example call:
_putchar_color(COLOR_BLACK, ‘A’);
Includes:
#include “SDK.h ”
Description: 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.
Returns: None
Purpose: Display a string in color black on the LCD display.
Syntax: char _puts (char* string)
Example call:
_puts(“Hello World”);
Includes:
#include “SDK.h ”
Description: 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.
Returns: The puts function returns the number characters sent to the LCD display.
Purpose: Display a string in color black on the LCD display.
Syntax: char _puts_color(int colorindex, char* string);
Example call: _puts_ color (COLOR_
RED, “Hello World”);
Includes:
#include “SDK.h ”
Description: 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.
Returns: The puts function returns the number characters sent to the LCD display
in user define color.
Purpose: Put a rectangular bitmap to the LCD display.
Syntax: void show_image_bmp(int left, int top, int width, int height, const void
*pat);
Example call: show_image_ bmp (10,5,60,30,buffer);
Includes:
#include “SDK.h ”