Difference between revisions of "GLCD"

From Flowcode Help
Jump to navigationJump to search
Line 8: Line 8:
  
 
===Colour===
 
===Colour===
 +
 +
These displays are typically arrays of pixels that have associated red, green and blue colour channels. Each colour channel will have a bit depth that dictates what resolution is available for that colour. A common colour bit depth is 565 where the red and blue colour channels have 5 bits (0-31) and the green colour channel has 6 bits (0-63), making a total of 16-bits that are easily transferred using two standard 8-bit byte transfers.
 +
 +
The GLCD component is aware of the colour depth of the display and will automatically convert and scale the assigned RGB colour byte (0-255) to the correct bit depth.
 +
 +
They tend to be slower to refresh due to the increased data per pixel and slightly higher cost but can display full colour images.
  
 
===Serial===
 
===Serial===

Revision as of 10:43, 30 May 2024

Types of graphical display

Monochrome

These displays are typically arrays of pixels that can be either switched on or off.

They tend to be fast to refresh and low cost but are limited in terms of what they can display.

Colour

These displays are typically arrays of pixels that have associated red, green and blue colour channels. Each colour channel will have a bit depth that dictates what resolution is available for that colour. A common colour bit depth is 565 where the red and blue colour channels have 5 bits (0-31) and the green colour channel has 6 bits (0-63), making a total of 16-bits that are easily transferred using two standard 8-bit byte transfers.

The GLCD component is aware of the colour depth of the display and will automatically convert and scale the assigned RGB colour byte (0-255) to the correct bit depth.

They tend to be slower to refresh due to the increased data per pixel and slightly higher cost but can display full colour images.

Serial

Parallel

Core Functions

Additional Libraries

Examples

Changing the display

If you want to replace the display in one of the examples with a different display type then information on how to do this can be found on the Replacing a Component page.