Difference between revisions of "Component: GLCD (TLS8201) (Graphical Monochrome)"
From Flowcode Help
Jump to navigationJump to search| Line 73: | Line 73: | ||
| ''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 692: | Line 694: | ||
| |- | |- | ||
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| − | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation  | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation | 
| + | |- | ||
| + | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
| + | | width="90%" | Component Label | ||
| + | |- | ||
| + | | colspan="2" |   | ||
| + | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
| + | | width="90%" | Component Label Scale | ||
| |- | |- | ||
| + | | colspan="2" | The label scale can be change if the amout of text is too wide for the display   | ||
| |- | |- | ||
| | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
Revision as of 10:26, 20 October 2023
| Author | Matrix Ltd | 
| Version | 1.3 | 
| Category | Graphical Monochrome | 
Contents
- 1 GLCD (TLS8201) component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 BPlot
- 5.2 ClearDisplay
- 5.3 DrawCircle
- 5.4 DrawEllipse
- 5.5 DrawLine
- 5.6 DrawRectangle
- 5.7 Initialise
- 5.8 Plot
- 5.9 Print
- 5.10 PrintNumber
- 5.11 ReadFontStat
- 5.12 ReadFontWidth
- 5.13 SetBackgroundColour
- 5.14 SetDisplayOrientation
- 5.15 SetFontScaler
- 5.16 SetForegroundColour
- 5.17 Write_Command
- 5.18 Write_Data
 
- 6 Property reference
GLCD (TLS8201) component
A Graphical LCD component to drive displays fitted with a TLS8201 controller IC.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_GLCD_TLS8201.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_GLCD_TLS8201.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
BPlot
|   | BPlot | 
| Sets a pixel with the current background colour at pixel location X, Y. | |
|  - UINT | X1 | 
|  - UINT | Y1 | 
|  - VOID | Return | 
ClearDisplay
|   | ClearDisplay | 
| This macro clears the display of any previous output by overwriting the entire display with the background colour. | |
|  - VOID | Return | 
DrawCircle
DrawEllipse
DrawLine
|   | DrawLine | 
| Draws a line with the current foreground colour from pixel location X1, Y1 to pixel location X2, Y2. | |
|  - UINT | X1 | 
|  - UINT | Y1 | 
|  - UINT | X2 | 
|  - UINT | Y2 | 
|  - VOID | Return | 
DrawRectangle
Initialise
|   | Initialise | 
| The Init macro must be called once to initialise the Graphical LCD display before any other Graphical LCD component macros are called. | |
|  - VOID | Return | 
Plot
|   | Plot | 
| Sets a pixel with the current foreground colour at pixel location X, Y. | |
|  - UINT | X1 | 
|  - UINT | Y1 | 
|  - VOID | Return | 
PrintNumber
ReadFontStat
|   | ReadFontStat | 
| Gets a stat from the selected embedded ASCII font data. | |
|  - BYTE | Font | 
| Font selection range: 0 to (NumFonts - 1) | |
|  - BYTE | Index | 
| 0=SpaceWidth, 1=PixelHeight | |
|  - BYTE | Return | 
ReadFontWidth
SetBackgroundColour
|   | SetBackgroundColour | 
| Specifies the colour of the background. | |
|  - BYTE | Pixel_Colour | 
| 0=White, 1=Black | |
|  - VOID | Return | 
SetDisplayOrientation
SetFontScaler
SetForegroundColour
|   | SetForegroundColour | 
| Specifies the colour of the foreground. | |
|  - BYTE | Pixel_Colour | 
| 0=White, 1=Black | |
|  - VOID | Return | 
Write_Command
|   | Write_Command | 
|  - BYTE | Command | 
|  - VOID | Return | 
Write_Data
|   | Write_Data | 
|  - BYTE | Data | 
|  - VOID | Return | 










