LCD Graphics Commands

General Information About Animated Graphics

All graphics – including the animated ones – are loaded into the Flash memory of the iLCD or stored on a MicroSD card via iLCD Manager XE. Although there can be an unlimited number of animated graphics, a maximum of 8 animated graphics can be animated at the same time on a LCD screen. While animated graphics are shown on the screen, any other command like drawing text or graphics to any cursor position can be carried out, as the iLCD's animation engine runs in the background of the iLCD Controller's firmware. Scrolling the screen while animations are active can be done, but will cause unwanted effects, as the position of animated graphics are not changed via the scroll screen commands.

When working with animated graphics, the first thing to do is to load an animated graphic to one of the 8 animation controls (referred to as anim_loc in the following commands). All other animation related commands refer to the index of the animation control regardless of which animated graphic is loaded into it.

Please note that the single frames of an animated graphic may contain areas of the image, which are smaller in width and/or height than the complete image. This is exactly how animated GIFs work (iLCD Manager XE imports animated GIFs and takes care about the frames' size and position). So setting a certain frame number via the Stop Animation and Set Frame Number command may cause surprising effects when one does not keep in mind that only the (smaller) frame contents of the selected frame will be drawn, and not the whole image which is normally created by the sequence of consecutive frames.

Find following commands in this chapter as well as in the corresponding category when using the parameter completion feature of iLCD Manager XE: