Jump to content

Component: LCD control (Alphanumeric): Difference between revisions

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(One intermediate revision by the same user not shown)
Line 75: Line 75:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AddChar'''
| width="90%" class="mtx-class-macrohead" | '''AddChar'''
|-
|-
| colspan="2" | Prints a single ASCII character to the display 
| colspan="2" | Prints a single ASCII character to the display 
Line 104: Line 104:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AddText'''
| width="90%" class="mtx-class-macrohead" | '''AddText'''
|-
|-
| colspan="2" | Prints a string of ASCII characters to the display 
| colspan="2" | Prints a string of ASCII characters to the display 
Line 133: Line 133:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Clear'''
| width="90%" class="mtx-class-macrohead" | '''Clear'''
|-
|-
| colspan="2" | Clears all text from the display 
| colspan="2" | Clears all text from the display 
Line 147: Line 147:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearLine'''
| width="90%" class="mtx-class-macrohead" | '''ClearLine'''
|-
|-
| colspan="2" | Clears one row of  text from the display 
| colspan="2" | Clears one row of  text from the display 
Line 166: Line 166:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetScrollX'''
| width="90%" class="mtx-class-macrohead" | '''GetScrollX'''
|-
|-
| colspan="2" | Gets the scroll position in X set by SetScrollX()  
| colspan="2" | Gets the scroll position in X set by SetScrollX()  
Line 180: Line 180:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetScrollX'''
| width="90%" class="mtx-class-macrohead" | '''SetScrollX'''
|-
|-
| colspan="2" | Sets the scroll offset in X of the LCD  
| colspan="2" | Sets the scroll offset in X of the LCD  
Line 199: Line 199:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-

Latest revision as of 14:23, 13 July 2026

Author Matrix Ltd
Version 1.0
Category Alphanumeric


LCD control component

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

Component Source Code

Please click here to download the component source project: FC_Comp_Source_LCD_Alphanumeric_Sim.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_LCD_Alphanumeric_Sim.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

AddChar

AddChar
Prints a single ASCII character to the display 
- INT X
 
- INT Y
 
- BYTE Char
Holds an ASCII value e.g. 'A' 
- VOID Return


AddText

AddText
Prints a string of ASCII characters to the display 
- INT X
 
- INT Y
 
- STRING Text
Enter the text or variable to print to the display 
- VOID Return


Clear

Clear
Clears all text from the display 
- VOID Return


ClearLine

ClearLine
Clears one row of text from the display 
- BYTE Line
 
- VOID Return


GetScrollX

GetScrollX
Gets the scroll position in X set by SetScrollX()  
- UINT Return


SetScrollX

SetScrollX
Sets the scroll offset in X of the LCD  
- BYTE Pos
 
- VOID Return


Property reference

Properties
Columns
 
Rows
 
Horizontal buffer
 
Show Background Elements
Show or hide features like the title and background. 
Component Label
 
Component Label Scale
The label scale can be change if the amout of text is too wide for the display  
Text Colour
Colour of the font characters drawn on the display 
Text Background
Colour surrounding the font characters drawn on the display 
Display Background
Colour of the background of the display