Z80
LCD
PIC
8051
Opera
Software
Files
Bookstore
Links
About me

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Creating Animations

Simple Animation.

You can create a sort of animation by rapidly printing a series of custom characters at the same screen position.

Animation in Multiple Locations.

There's a useful side effect to the way the LCD controller uses CG RAM. Normally, we define a pattern in CG RAM, then print the character. But you can also change the CG RAM for characters that are already on the screen, and their appearance will change. This opens up two neat possibilities:

  • You can create animations with more frames than the eight CG RAM locations. Since new bit patterns are loaded from an external computer, the only limit on the number of frames is that computer's storage capacity.
  • You can animate multiple screen locations simultaneously. Just print the graphics character you want to animate in multiple screen locations, then cycle different bit patterns through its CG RAM. All instances of that character will change !