Generating 2bpp grayscale data on two pages

Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems and a programmable graphic and text processing tool.

Generating 2bpp grayscale data on two pages

From Version 3.4b, a new setting for an alternative output format for 2bpp grayscale has been implemented.

The data then is generated in two separate data arrays (or pages) : The first page of 1bpp data is to turn on light gray, and the second page of 1bpp data is to turn dark gray.

For example, for a 128 x 96 2bpp gray LCD Panel, the generated data is split in two arrays of 128 x 12 bytes. Each byte contains 1bpp of 8 pixels, combined with the other byte in the other array to make the 2bpp.

Target : For example LCD controller S6B0741 (Samsung)

bitmap2lcd 4bpp grayscale

Leave a Reply

Your email address will not be published. Required fields are marked *