Argox PA-20 Programming Guide Bedienungsanleitung Seite 83

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 130
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 82
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
_puts
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.
_puts_color
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.
show_image_bmp
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 ”
Seitenansicht 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 129 130

Kommentare zu diesen Handbüchern

Keine Kommentare