Difference between revisions of "Component: LCD control (Misc)"
(XML import BR) |
(XML import) |
||
Line 19: | Line 19: | ||
Suitable for simulation only | Suitable for simulation only | ||
+ | |||
+ | This component can be used as a base to create ''child'' components | ||
+ | |||
+ | [[File:Component Icon 31326041_9339_4cf4_b609_c14cc66318b3.png|Image]] The component [[Component: ID 31326041_9339_4cf4_b609_c14cc66318b3|LCD (Grove _ UART)]] is inherited from this. | ||
==Examples== | ==Examples== |
Latest revision as of 10:26, 9 May 2018
Author | Matrix Ltd |
Version | 1.0 (Release) |
Category | Misc |
Contents
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
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
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