Abl-electronic PIC Microcontrollers PIC16 Manual do Utilizador Página 223

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 312
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 222
MikroElektronika:
Development
tools
-
Books
-
Compilers
215
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
Prototype
void Glcd_Write_Text(char *text, unsigned short x, unsigned short
page, unsigned short color);
Description Prints text at page (one of 8 GLCD lines, 0..7), x dots away from the left border of
display. Parameter color defines the “fill”: 0 prints a “white” letters (clear dots), 1
prints solid letters (put dots), and 2 prints “smart” letters (invert each dot).
Requires GLCD needs to be initialized. See Glcd_Init.
Example
Glcd_Write_Text("Hello world!", 0, 0, 1);
Glcd_Write_Text
Prototype
void Glcd_Write_Char(unsigned short character, unsigned short x,
unsigned short page, char color);
Description Prints character at page (one of 8 GLCD lines, 0..7), x dots away from the left bor-
der of display. Parameter color defines the “fill”: 0 prints a “white” letter (clear dots),
1 prints a solid letter (put dots), and 2 prints a “smart” letter (invert each dot).
Requires GLCD needs to be initialized. See Glcd_Init.
Example
Glcd_Write_Char('C', 0, 0, 1);
Glcd_Write_Char
Vista de página 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 311 312

Comentários a estes Manuais

Sem comentários