Component: LCD control (Misc)

From Flowcode Help
Jump to navigationJump to search


Author Matrix Ltd
Version 1.0 (Release)
Category Misc


Image LCD control component

An LCD control pane supporting up to 64 x 64 units Suitable for simulation only


This component can be used as a base to create child components

Image The component LCD (Grove _ UART) is inherited from this.

Examples

No additional examples


Downloadable macro reference

This component does not contain any downloadable macros

Simulation macro reference

Clear

No additional information


Parameters

This macro has no parameters


Return value

This call does not return a value


AddChar

Adds a text character to the LCD at a given position

Parameters

INT X
X location of the text to add
INT Y
Y location of the text to add
BYTE Text
The text character to add


Return value

This call does not return a value


GetScrollX

Gets the scroll position in X set by SetScrollX()

Parameters

This macro has no parameters


Return value

UINT


SetScrollX

Sets the scroll offset in X of the LCD

Parameters

UINT Pos


Return value

This call does not return a value


AddText

Adds a text string to the LCD at a given position

Parameters

INT X
X location of the text to add
INT Y
Y location of the text to add
STRING Text
The text to add


Return value

This call does not return a value


SetSize

Sets the size of the LCD grid

Parameters

BYTE X
The number of X cells
BYTE Y
The number of Y cells


Return value

This call does not return a value



Property reference

Horizontal size

This property is of type Signed integer and can be referenced with the variable name CellX.

No additional information


Vertical size

This property is of type Signed integer and can be referenced with the variable name CellY.

No additional information


Horizontal buffer

This property is of type Signed integer and can be referenced with the variable name WidthX.

No additional information


Text color

This property is of type Color picker and can be referenced with the variable name TextCol.

No additional information


Text font

This property is of type Font picker and can be referenced with the variable name TextFont.

No additional information


Background color

This property is of type Color picker and can be referenced with the variable name BackCol.

No additional information


Line color

This property is of type Color picker with transparency and can be referenced with the variable name LineCol.

No additional information