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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 312
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 223
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
216
MikroElektronika:
Development
tools
-
Books
-
Compilers
page
Prototype
void Glcd_Partial_Image(unsigned short x1, unsigned short y1,
unsigned short x2, unsigned short y2, unsigned short color,
const char *image);
Description Displays partial bitmap image on the GLCD. Parameter image should be formatted as
an array of 1024 bytes. Parameters (x1, y1) set the upper left corner, and (x2, y2) set
the lower right corner of the clip. Parameter color defines the fill: 0 draws a “white”
image (clear dots), 1 draws a “black” image (put dots), and 2 draws an inverted image
(invert each dot).
Use the mikroC’s integrated Bitmap-to-LCD editor (menu option Tools > Graphic LCD
Editor) to convert image to a constant array suitable for display on GLCD.
Requires GLCD needs to be initialized. See Glcd_Init.
Example
Glcd_Partial_Image(0, 0, 32, 64, 1, my_image);
Glcd_Partial_Image
Prototype
void Glcd_Image(const char *image);
Description Displays bitmap image on the GLCD. Parameter image should be formatted as an array
of integers. Use the mikroC’s integrated Bitmap-to-LCD editor (menu option Tools >
BMP2LCD) to convert image to a constant array suitable for display on GLCD.
Requires GLCD needs to be initialized. See Glcd_Init.
Example
Glcd_Image(my_image);
Glcd_Image
Vista de página 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 311 312

Comentários a estes Manuais

Sem comentários