Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems.
Let’s see how we can create an animation for small Graphic LCD.
- When in static mode (blue arrow), go to the animation menu (green arrow) and click the animation button (red arrow). The same button should later be used to go back to the static mode. An animation will be saved as a standard GIF file.
- When in animation mode (blue arrow) the animation sub-menu becomes accessible (red arrow) . The animation is made of frames, a sequence of images. The ghost image of the previous frame can optionally be displayed, it is a visual help for correct placement of graphic items (green arrow)
- In the animation mode the window border becomes dark gray (green arrow)
- At the top you can read the number of the displayed frame (2) and the number of total frames (3) (blue arrow)
- In the animation menu , you can use the navigation buttons to move between frames, move to the beginning or the end of the animation. You can also play and stop the animation sequence. (orange arrow) An alternative is to use the page-up and page-down keyboard keys to move thru the animation frames.
- When the animation is done you can convert the frames in GLCD data in one go (green arrow)
- With this animation made of 3 frames example, Bitmap2LCD produces 4 files : A clip unit file (blue arrow, the code in the editor) and the 3 frames as data files (orange arrow)
- You can navigate and view these files with the buttons (red arrow)
- A selected part of the animation frames can be converted : Enable Display Paging Scheme Limits and then select the area to convert. Click conversion button to start conversion.
- In this example, 3 full frame size of data for a 128 x 128 pixel GLCD are converted (black arrow). If the “Autoframing” option whas been enabled in the configuration settings, an automatic framing of only the changing pixels is made. Then the X and Y positions, the height and teh width of the frame is reported inside the clip unit.
- In the configuration settings window , find other animation settings on the “clip unit” panel.
- In the monochrome mode, in addition to autoframing, an animation output can optionally be “internally compressed” to generate reduced code size.