Gauges

Overview

Gauges are the visual elements of a screen page. The various different gauge types available in Dash Design are described in this section.

Gauge Types

Gauge Support Matrix

GaugeCD34LDS4CD32LDS35LDS35_LCD6-43GLW-43
Tacho Gauges Yes Yes Yes Yes Yes Yes Yes
Value Gauge Yes Yes Yes Yes Yes Yes Yes
Label Gauge Yes Yes Yes Yes Yes Yes Yes
Needle Gauge Yes Yes Yes Yes Yes Yes Yes
Image Gauge Yes Yes Yes Yes Yes Yes Yes
Animation Gauge Yes No Yes No No Yes No
Warning Gauge Yes Yes Yes Yes Yes Yes Yes
Text Input Gauge Yes Yes Yes Yes Yes Yes Yes
Bar Gauges Yes Yes Yes Yes Yes Yes Yes
Shape Gauge Yes Yes Yes Yes Yes Yes Yes
Limiter Gauge Yes Yes Yes Yes Yes Yes Yes
Cross-Hair Gauge Yes Yes Yes Yes Yes Yes Yes
Graph Gauge Yes Yes Yes Yes Yes Yes Yes
Gauge Groups Yes Yes Yes Yes Yes Yes Yes
Bit Gauge Yes Yes Yes Yes Yes Yes Yes
Menu Gauge Yes Yes Yes Yes Yes Yes Yes
Text Message Gauge Yes Yes Yes No No Yes Yes
Arc Gauge No Yes No No No Yes Yes
Camera Gauge No No Yes No No No No

Subsections of Gauges

Animation Gauge

Overview

Gauge Icon Animation Gauges may be configured to display an animated gif image.

Animation gauges might be used to display a short animated splash screen when the display is switched on.

Display Support

DisplaySupported?
CD34 Yes
LDS4 No
CD32 Yes
LDS35 No
LDS35_L No
CD6-43 Yes
GLW-43 No

Arc Gauge

Overview

Gauge Icon The Arc Gauge renders an swept arc (annulus). As with Needle Gauge , the arc gauge can specify a background image.

Note

The arc gauge may require a firmware update to be supported on your display.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Type The type of gauge to be drawn, may be switched between Needle Gauge or Arc Gauge .
Background bitmap The background gauge image. Clicking the Clear button clears the background bitmap.
Auto Size Automatically calculate the radii and centre of the arc from the gauge width / height.
X Centre, Y Centre The centre of the gauge from which the logical centre of the pointer will be drawn.
Outer Radius Outer radius of the arc.
Inner Radius Inner radius of the arc.
Thickness Thickness of the arc (Outer Radius - Innter Radius).
Start Degrees The number of degrees from 6 o’clock (the zero degree position) that the starting value of the gauge should be drawn.
End Degrees The number of degrees from 6 o’clock (the zero degree position) that the end value of the gauge should be drawn.
Transparent box If checked, then any colour in the background bitmap that matches the colour specified in Transparent Colour will not be drawn. This is useful when overlaying a round tacho bitmap gauge over another bitmap.

Display Support

DisplaySupported?
CD34 No
LDS4 Yes
CD32 No
LDS35 No
LDS35_L No
CD6-43 Yes
GLW-43 Yes

Bar Gauges

Overview

There are 4 types of bar gauge - rectangle and triangle shaped bars in either horizontal or vertical orientation:

  • Gauge Icon Vertical Triangular
  • Gauge Icon Horizontal Triangular
  • Gauge Icon Vertical Rectangular
  • Gauge Icon Horizontal Rectangular

Segments

A bar contains a number of segments that divide the bar up between the minimum and maximum limits.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Separators Between Bars If checked, a separator line is drawn between each bar in the line colour. Otherwise, the bars run contiguously.
Fill Bar From Centre (Rectangular Bars) If checked, the bar is drawn from the centre. For example, consider a bar gauge with the minimum set to -2 and the maximum set to +2, with Fill From Centre checked. If the value of the input is -2, the bar will be filled from the midpoint (0) to the left hand side. If the input is 0, the bar will be unfilled. If the input is 2, the bar will be filled from the midpoint to the right hand side.
Display Value As Single Line (Rectangular Bars) If checked, then the bar will not be filled. instead a single line will move across the bar indicating the current value.
Square Mode (Rectangular Bars) If checked, then the bar will not have a chamfer at one end.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Bit Gauge

Overview

Gauge Icon The Bit Gauge displays the value of individual bits in the integer representation of the input channel value.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
On The colour of bit elements for bits that are set in the input value.
Off The colour of bit elements for bits that are not set in the input value.
Spacing Spacing, in pixels, between bit elements in the gauge.
Box Width Width, in pixels, of bit elements in the gauge.
Box Height Height, in pixels, of bit elements in the gauge.
Corner Radius If non-zero, draws bit elements as rounded rectangles with the given corner radius, in pixels
Circle Style Render bit elements as circles.
Direction Controls the direction in which bit elements are drawn.
Bit Count The number of bit elements to render.
Items Lists the bit elements and allows arbitrary bits from the input value to be assigned to specific bit elements.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Camera Gauge

Overview

Gauge Icon Camera Gauges are used to show the video feed from an attached camera on the display.

If no camera is connected, a standard colour bar test card is shown.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Mirror Image from Camera If checked, the feed from the camera will be reversed as if seen in a mirror. This is useful when a non-mirrored camera is used as a rear view camera.
Display Mode Sets the display mode of the image. This can be one of three modes:
  • Preserve Aspect Ratio - The width and height of the gauge will be adjusted such that the aspect ratio (width / height) of the original camera source is preserved.
  • Crop - Allows any gauge size to be set. Because the aspect ratio of the camera is fixed, depending on the size of the gauge, some of the vertical or horizontal image will be cropped from the camera.
  • Scale - Allows any gauge size to be set. The image from the camera will be scaled in both width and height to fit the gauge size without cropping. The image may be distorted as a result.
Left Crop Number of pixels to crop from left.
Top Crop Number of pixels to crop from top.
Right Crop Number of pixels to crop from right.
Bottom Crop Number of pixels to crop from bottom.

Display Support

DisplaySupported?
CD34 No
LDS4 No
CD32 Yes
LDS35 No
LDS35_L No
CD6-43 No
GLW-43 No

Cross-Hair Gauge

Overview

Gauge Icon The Cross Hair Gauge uses two inputs to move a cross hair around a box.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
XInput, YInput Specify the inputs for the X and Y axes of the gauge.
X Minimum, Y Minimum Specify the starting values for the X and Y axes.
X Maximum, Y Maximum Specify the end values for the X and Y axes.
Cursor Size Is the size of the cross hair cursor.
Cursor Shape Different shapes may be selected for the cursor.
Cursor Thickness Controls the thickness of lines used to draw the cursor.
Background Bitmap Can be used to specify a bitmap that will be shown behind the cross hairs. This can be used to clarify the meaning of a particular position for the cross hair. Clicking the Clear button clears the background bitmap.
Transparent box If checked, then any colour in the background bitmap that matches the colour specified in Transparent Colour will not be drawn. This is useful when overlaying a cross hair gauge with a bitmap over another bitmap.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

File Explorer Gauge

Overview

Gauge Icon The File Explorer Gauge provides access to files on the Display Module if supported. Some display types allow video playback and display of images from files via the file explorer.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Title Tip
Up Button Input for Up button (scrolls file explorer selection).
Down Button Input for Down button (scrolls file explorer selection).
OK Button Input for OK button (accept selection).
Context Button Input for Context ‘menu’ / file management button.
Video Seek Offset Input for video seek offset.
Repeat Interval [ms] Auto-repeat interval for button inputs, set to zero for no auto-repeat.
Video Seek Interval [s] Jump length when seeking during video playback
Caption Title of the file explorer.
Line Spacing Spacing between lines in the menu.
Selected Fill Background colour of selected items
Font Font for normal items in the file explorer.
Text Colour Colour of normal items in the file explorer.
Selected Font Font for selected items in the file explorer.
Selected Text Colour Text colour of selected items in the file explorer.
Unsupported Text Colour Text colour of unsupported items in the file explorer.

Display Support

DisplaySupported?
CD34 No
LDS4 No
CD32 No
LDS35 No
LDS35_L No
CD6-43 No
GLW-43 No

Graph Gauge

Overview

Gauge Icon The Graph Gauge plots values from its input channel(s) with respect to time.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Time Base This is the width of the x axis in seconds. When a page with a historical graph gauge is first selected, the data is drawn from the left hand side of the graph (t=0). As the time progresses, the lines progress towards the right hand side of the graph. Once t = time base, the graph scrolls to the left to make more space available for drawing the lines.
Input Count The number of lines (outputs) drawn in this graph. Changing the input count will add multiple sets of properties for each line.
Input The output for which the line is drawn.
Colour The colour of the line.
Minimum Specifies the lower range of the y axis of the graph for this line. If the value of the output for this line falls below this value, the line will be drawn at the minimum value.
Maximum Specifies the upper range of the y axis of the graph for this line. If the value of the output for this line exceeds this value, the line will be drawn at the maximum value.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Image Gauge

Overview

Gauge Icon Image Gauges are used to show an image from a file or the output of a image selector output (See Image Selectors Tab ).

Properties

The Graphic/Input property allows a file to be selected from disk using the Open button.

Use the … button to select from all Image and Image Selector assets in the setup.

Use the Reload Reload button to update / reload the selected image asset from disk.

Use the Reload Clear button to un-set the selected image. This will not remove the associated image asset from the setup. To remove image assets, see Images Tab

When loading an image, if it is too large to fit on the screen, the option to resize it will be offered.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Label Gauge

Overview

Gauge Icon The Label Gauge is a static gauge (it has no input and does not change) that is normally used to label other gauges or provide fixed information.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Text Sets the text shown by the label gauge.
Direction Specifies the direction in which the text is drawn in.
  • Right - Left-to-right
  • Left - Right-to-left
  • Up - Render characters bottom-to-top
  • Down - Render characters top-to-bottom
  • Flip X - Mirror horizontally (vector fonts only)
  • Flip Y - Mirror vertically (vector fonts only)
  • Rotate CW - Rotate 90° clockwise (vector fonts only)
  • Rotate CCW - Rotate 90° counter-clockwise (vector fonts only)
  • Rotate 180 - Rotate 180° (vector fonts only)
Justification Specifies whether the text is aligned to the left, right or centre of the bounding rectangle.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Limiter Gauge

Overview

Gauge Icon The Limiter Gauge is typically used to signal an approaching rev limit by means of several boxes that change colour as the rev limit approaches.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Box Count The number of boxes in the gauge.
Box Size The width and height of the box in pixels.
Limiter Start The value at which the first box will change colour from Background Colour to Fill Colour.
Limiter Offset The value added to the Limiter Start to determine when the next box changes colour.
Draw Circular Limit Lights If checked, round LED style boxes will be drawn instead of boxes.

For example, if Box Count is 3, Limiter Start is 8000 and Limiter Offset is 200, the first box will change colour at 8000, the second at 8200 and the third at 8400.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Menu Gauge

Overview

Gauge Icon The Menu Gauge allows a simple text menu to be drawn on the screen which allows navigation to various pages in the setup.

This is useful for seldom used configuration options such as Setting the time, setting the calibration factor or displaying the screen properties.

The menu events Menu Up and Menu Down are used to navigate up and down the menu and Menu Select jumps to the page associated with the current menu item.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Flat Mode If selected, the menu will render in an arc. If not selected, the menu will render in the number of columns specified by the column property.
Columns The number of columns to use in flat mode.
Selected Colour The colour of the currently selected menu item. Only active in Flat mode.
Deselected Colour The colour of all non-selected menu items. Only active in Flat mode.
Activation Input If specified, the menu will be visible and respond to events if the specified output value matches the Activation value. Otherwise it will be hidden.
Activation Value The value to make this menu visible if an Activation Input is specified.
Initial Position The initial item selected when the menu is shown.
Revert Timeout/s If non-zero, the menu will revert to the Revert Screen when the timeout has passed with no menu events being triggered.
Menu Items A list of the menu items. The following columns are available: Menu Item, Page, Output to Set, Selectable, Value, Format.
Set Immediately If this is checked, then, if an item is selectable, when it is scrolled to, the Output to Set value will be actioned immediately. In addition, the last menu item will not be rendered; this is a place holder for the click action when in set immediate mode. This could be, for example, another Output to Set function to change the currently active menu or it could be a page jump. If neither of these functions are to be used, a dummy last menu item should still be added.
Property Description
Menu Item Contains the text shown for the menu item. This can be formatted in a similar manner to Notifications (See Notifications Tab ).
Page Column contains the page jumped to when the Menu Select event is triggered. If this value is negative and an output to set has been specified, then the unsigned version of this number will be set in the output. Eg if the value is -1, the output specified will be set to 1 when the menu item is selected.
Output to Set If an output is specified here, then the absolute value specified in the Page/Value column will be set in this output when the menu item is selected (the value must be listed as negative). Currently, only calibration outputs support this feature.
Selectable If set to yes, then selecting this item will put a tick next to it. Any other item in the menu that currently has a tick will have the tick cleared.
Value Menu items can display a value if the @ symbol is present in the menu name. The source for the value is specified in this column.
Format The format string used to format the value specified in the value column.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Needle Gauge

Overview

Gauge Icon The Needle Gauge allows a scaled pointer or needle to be drawn over a graphic image. This allows much more eye catching graphics to be used for round gauges than could otherwise be drawn dynamically by the display hardware.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Type The type of gauge to be drawn, may be switched between Needle Gauge or Arc Gauge .
Background bitmap The background gauge image. Clicking the Clear button clears the background bitmap.
Auto Size Automatically calculate the length and centre of the needle from the gauge width / height.
X Centre, Y Centre The centre of the gauge from which the logical centre of the pointer will be drawn.
Centre Offset The number of pixels from the logical pointer centre at which the pointer will be drawn.
Draw Centre If checked, a solid circle is drawn at the needle centre.
Length The length of the pointer.
Start Degrees The number of degrees from 6 o’clock (the zero degree position) that the starting value of the gauge should be drawn.
End Degrees The number of degrees from 6 o’clock (the zero degree position) that the end value of the gauge should be drawn.
Transparent box If checked, then any colour in the background bitmap that matches the colour specified in Transparent Colour will not be drawn. This is useful when overlaying a round tacho bitmap gauge over another bitmap.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Shape Gauge

Overview

Gauge Icon The Shape Gauge is a static gauge (i.e. has no input and does not change) that is used to draw shapes on the screen.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Shape Specifies the basic shape as either a Rectangle or an Ellipse.
Thickness Specifies the thickness of the border drawn around the shape.

When the shape type is set to Rectangle, a gradient fill can be set instead of a solid fill colour:

Property Description
Enabled Check to enable the gradient fill.
Direction Horizontal draws the gradient from left to right, Vertical draws the gradient from top to bottom.
Gradient Start Colour The colour on the left or top.
Gradient End Colour The colour on the right or bottom.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Tacho Gauges

Overview

Gauge Icon Bar Tacho and Gauge Icon Round Tacho gauges are typically used with engine speed or road speed and are available as either a curved bar gauge or a round gauge. They use minimum, maximum and resolution in the same manner as bars but also have labeled segments, the frequency of which is specified by the label frequency property. The label values are divided by the label divisor property and then formatted.

See also Needle Gauge which can be used to draw a pointer over an image background.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Square Tacho If checked, the tacho will be rectangular instead of having an arc.
Smooth Instead of the tacho being drawn with blocks, it is instead drawn with a smooth arc.
Separators Between Bars If checked, a separator line is drawn between each bar in the line colour. Otherwise, the bars run contiguously.
Enable Lower Tacho Limit Turns on the lower tacho limit. When enabled, the first part of the tacho (up to Limit End) is drawn in Limit Colour as it is filled. If Enable Flash Below Limit is checked, the lower part of the tacho will flash if the input value is below Limit End.
Enable Upper Tacho Limit Turns on the upper tacho limit. When enabled, the last part of the tacho (after to Limit Start) is drawn in Limit Colour as it is filled. If Enable Flash Above Limit is checked, the upper part of the tacho will flash if the input value is above Limit Start.
Flash Entire Tacho When Flash Mode Active If the upper limit is flashing because Enable Flash Above Limit is checked, all the filled tacho blocks will flash if this option is checked.
Flash Rate The rate at which to flash the tacho when in any of the flash modes.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Text History Gauge

Overview

Gauge Icon The Text History Gauge displays a list or recent text input values.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Justify Specifies whether the text is aligned to the left, right or centre of the bounding rectangle.
Line Count Specifies the number of items to display in the list.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Text Input Gauge

Overview

Gauge Icon The Text Input Gauge is used to display text from a channel that produces a text output such as a Text channel.

The Justification property specifies whether the text is aligned to the left, right or centre of the bounding rectangle.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Justification Specifies whether the text is aligned to the left, right or centre of the bounding rectangle.
Warning

Note: It is important to select the background colour of the value gauge to be the same as the colour of the background the gauge is over. Failure to do so may result in corruption of the value displayed.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Text Message Gauge

Overview

Gauge Icon The Text Message Gauge is used to display messages received from a GEMS radio messaging system or GEMS SMS1 text messaging system.

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Show Urgent Messages Only In this mode, the gauge is normally hidden but will display over all other gauges when an urgent message is received. The gauge will be hidden again in response to a TEXT HIDE URGENT PANEL event.
Show Newest Message On Top If checked, new messages will be shown at the top of the list and the list will scroll down as necessary. If not checked, then new messages will be added to the bottom of the list and the list will scroll up as necessary.
Show Newest Message in Large Font If Checked, the newest message will be shown in the large font and all older messages will be shown in the small font. Font size selected in GEMS RMS will be ignored. If not checked, then the messages will be shown in the size specified by GEMS RMS.
Small Font / Large Font Set the font used to display small and large text messages. Note that the SMS1 only transmits small messages - in this case, the Large Font properties are irrelevant.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 No
LDS35_L No
CD6-43 Yes
GLW-43 Yes

Value Gauge

Overview

Gauge Icon The Value Gauge shows the value of the output specified in the Input property according to the format specified in the Format property. The Justification property specifies whether the text is aligned to the left, right or centre of the bounding rectangle.

Warning

It is important to select the background colour of the value gauge to be the same as the colour of the background the gauge is over. Failure to do so may result in corruption of the value displayed.

The value gauge has an optional warning mode that changes the colour of the gauge when a warning limit for the input is exceeded or if a secondary channel is logically ’true'.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Colour Mode Enables changing the colour of the gauge based upon the value of a channel.
Alarm Limit In Limit Mode, specifies an upper limit for the input value, above which the Alarm Colour shall be used.
Alarm Colour Colour to use when in the alarm state.
Alarm Flash The gauge will alternate between the warning colour and the background colour whilst the warning is active.
Colour Input In Logic Mode, Allows selection of a channel, which when non-zero places the gauge in the alarm state

Special Formats

The Special Format property can be used to display internal system values. See Value Formatting .

The Channel Name and Channel Units Special Format values will cause Dash Design to replace the value gauge with a Text Input Gauge when programming the display containing the input channel name or units. This can be useful if creating Gauge Groups where the channel name, value and units should be shown; setting the Input channel property on the group will assign the value and also update the channel name and units.

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes

Warning Gauge

Overview

Gauge Icon The Warning Gauge, aka Alarm Bar is a block that changes colour depending on its input. Typically this is used to indicate out-of-range parameters.

For example, an Warning Gauge may be placed next to a gauge showing coolant temperature. The input to the Warning Gauge is configured to give an error signal if the coolant temperature rises above a pre-determined level. The bar colour changes from the specified background colour to the Fill Colour to give an easily seen warning indication.

Tip

It is possible to display a Warning Gauge underneath a value or text input gauge. For this to work correctly, the Warning Gauge must be bigger than the maximum likely size of the value gauge. When setting this up in the editor, it is easier to add the Warning Gauge to the page first then the value gauge; this ensures that the value gauge is visible and makes sizing the Warning Gauge correctly easier.

Properties

In addition to Standard Gauge Properties , the following properties may be configured:

Property Description
Borderless The display will automatically set the line colour to the current fill colour such that a rectangle of uniform colour with no border will be drawn.
Colour from input value If checked, the input channel is a colour value (see below).
Colour Map Allows a gradient to be specified to look up a colour based upon the magnitude of the input value given a start and end value.
Flash The gauge will alternate between the warning colour and the background colour whilst the warning is active.

Colour Input Values

Most Display Modules expect the colour value to be a 24 bit RGB value. The hexadecimal (and decimal) values of some common colours are shown below:

Colour Hexadecimal Decimal
Black 0x000000 0
White 0xFFFFFF 16777215
Red 0xFF0000 16711680
Green 0x00FF00 65280
Blue 0x0000FF 255

Some older firmware versions only support 16 bit RGB565 values as follows:

The 16 RGB colour value treats the top 5 bits as red intensity, the next 6 bits as green intensity and the lower 5 bits as blue intensity. Thus, it is possible to display any one of 65535 colours. The hexadecimal (and decimal) values of some common colours are shown below:

Colour Hexadecimal Decimal
Black 0x0000 0
White 0xFFFF 65535
Red 0xF800 63488
Green 0x07E0 2016
Blue 0x001F 31
Cyan 0x07FF 2047
Yellow 0xFFE0 65504

Typically, a function table would be used to map a given value to a specific colour. To avoid interpolation between the colour values, the function table should be set up such that a range of values defines one colour. For example, the following function table would map brake temperatures of 0 to 250 to blue, 251 to 500 to green, 501 to 700 to yellow and 701 to 1000 to red:

Input Output
0 31
250 31
251 2016
500 2016
501 65504
700 65504
701 63488
1000 63488

Display Support

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes