Abl-electronic PIC Microcontrollers PIC16 Manual de usuario Pagina 219

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 218
MikroElektronika:
Development
tools
-
Books
-
Compilers
211
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
Prototype
void Glcd_Write_Data(unsigned short data);
Description Writes data to the current location in GLCD memory and moves to the next location.
Requires GLCD needs to be initialized. See Glcd_Init.
Example
Glcd_Write_Data(data);
Glcd_Write_Data
Prototype
void Glcd_Fill(unsigned short pattern);
Description Fills the GLCD memory with byte pattern. To clear the GLCD screen, use
Glcd_Fill(0); to fill the screen completely, use Glcd_Fill($FF).
Requires GLCD needs to be initialized. See Glcd_Init.
Example
Glcd_Fill(0);
// Clear screen
Glcd_Fill
Prototype
void Glcd_Dot(unsigned short x, unsigned short y, char color);
Description Draws a dot on the GLCD at coordinates (x, y). Parameter color determines the dot
state: 0 clears dot, 1 puts a dot, and 2 inverts dot state.
Requires GLCD needs to be initialized. See Glcd_Init.
Example
Glcd_Dot(0, 0, 2);
// Invert the dot in the upper left corner
Glcd_Dot
Vista de pagina 218
1 2 ... 214 215 216 217 218 219 220 221 222 223 224 ... 311 312

Comentarios a estos manuales

Sin comentarios