SHOWPIC

From MCS Wiki AVR
Jump to: navigation, search

Contents

Action

Shows a BGF file on the graphic display

 

 

Syntax

SHOWPIC x, y , label

 

 

Remarks

Showpic can display a converted BMP file. The BMP must be converted into a BGF file with the Tools Graphic Converter.

 

The X and Y parameters specify where the picture must be displayed. X and Y must be 0 or a multiple of 8. The picture height and width must also be a multiple of 8.

 

The label tells the compiler where the graphic data is located. It points to a label where you put the graphic data with the $BGF directive.

 

You can store multiple pictures when you use multiple labels and $BGF directives,

 

Note that the BGF files are RLE encoded to save code space.

 

 

See also

PSET , $BGF , CONFIG GRAPHLCD , LINE , CIRCLE , SHOWPICE

 

 

Example

See $BGF example



Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language