Picture

Embedded tools that make the difference™

 Features
 Graphic
  Library
 Revision
 History
 Download
 Setup
 Docs
 Home  Products  Purchase  Customers  Contact  Links

The CodeVisionAVR C Compiler features a powerful graphic library for LCDs with resolutions from 84x48 up to 320x240 pixels.

The following graphic LCD controllers are currently supported:

  • Solomon Systech SSD1289 for color TFT 240x320 LCDs (only with Advanced license)
  • Samsung KS0108 (equivalent HD61202)
  • Epson SED1335 (equivalent RA8835)
  • Epson S1D13700
  • S-MOS SED1520 (equivalents NJU6450, PT6520)
  • Epson SED1530
  • Sunplus SPLC501C
  • Sitronix ST7565 in both parallel and serial modes
  • UltraChip UC1701 in both parallel and serial modes
  • Toshiba T6963C
  • Philips PCD8544 (used in the LCDs of the Nokia 3310, 5110 phones).

The graphic LCD library supports both AVR and XMEGA devices.

Unlike graphic libraries from other vendors, the CodeVisionAVR library allows to use any bit of any I/O port in any order for connecting to the graphic LCD module, providing maximal flexibility for the designer:

The graphic library supports the following functions/features:

  • Ploting pixels
  • Reading pixel’s color
  • Line drawing with any width between 1..255 pixels. The lines can be solid or have an user defined 8 pixel pattern
  • Drawing rectangles with any line style as specified above
  • Drawing rectangles with rounded corners, using solid lines with any width between 1..255 pixels
  • Drawing polygons with any numbers of points and any line style
  • Drawing circles and arcs of circles with any point size between 1..255 pixels
  • Drawing rectangular bars with user defined filling pattern
  • Filling any closed polygon with a solid color
  • Drawing a pie slice and filling it’s interior with a solid color
  • Displaying text in any color using various fonts at any position on the screen, with 1 pixel resolution
  • Font characters can have any width and height up to 255 pixels
  • Fonts can have variable or fixed pitch, and are stored in FLASH memory
  • Additional fonts can be created from scratch or imported from the installed Windows fonts using the LCD Vision font editor
  • Both horizontal and vertical spacing between text characters can be set between 0 and 255 pixels
  • Saving any rectangular portion of the screen as a bitmap image to RAM, EEPROM or any type of external memory
  • Displaying on the screen of a bitmap image stored in RAM, FLASH, EEPROM or any type of external memory. The image can be copied directly, or bit-level logical (AND, OR, XOR, NOT) operations can be performed between the image and screen contents. Images can be converted from popular graphic formats or created from scratch using LCD Vision

Some examples of the above mentioned functions can be seen in the following pictures:

Picture