Difference between revisions of "Component: GLCD (SSD1322) Parallel (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 79: | Line 81: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===ReadFontWidth=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 102: | Line 105: | ||
| + | ===SetFontScaler=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 125: | Line 129: | ||
| + | ===PrintNumber=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 163: | Line 168: | ||
| + | ===DrawLine=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 196: | Line 202: | ||
| + | ===DrawEllipse=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 239: | Line 246: | ||
| + | ===Plot=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 262: | Line 270: | ||
| + | ===SetDisplayOrientation=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 280: | Line 289: | ||
| + | ===BPlot=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 303: | Line 313: | ||
| + | ===Window=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 336: | Line 347: | ||
| + | ===ReadFontStat=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 359: | Line 371: | ||
| + | ===Print=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 397: | Line 410: | ||
| + | ===SetShadeIntensity=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 415: | Line 429: | ||
| + | ===ClearDisplay=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 428: | Line 443: | ||
| + | ===SetBackgroundColour=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 446: | Line 462: | ||
| + | ===DrawCircle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 484: | Line 501: | ||
| + | ===SetForegroundColour=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 502: | Line 520: | ||
| + | ===DrawRectangle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 545: | Line 564: | ||
| + | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:50, 3 February 2023
| Author | Matrix Ltd |
| Version | 1.3 |
| Category | Graphical Monochrome |
Contents
- 1 GLCD (SSD1322) Parallel component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 ReadFontWidth
- 5.2 SetFontScaler
- 5.3 PrintNumber
- 5.4 DrawLine
- 5.5 DrawEllipse
- 5.6 Plot
- 5.7 SetDisplayOrientation
- 5.8 BPlot
- 5.9 Window
- 5.10 ReadFontStat
- 5.11 Print
- 5.12 SetShadeIntensity
- 5.13 ClearDisplay
- 5.14 SetBackgroundColour
- 5.15 DrawCircle
- 5.16 SetForegroundColour
- 5.17 DrawRectangle
- 5.18 Initialise
- 6 Property reference
GLCD (SSD1322) Parallel component
Graphical display component designed to work with the SSD1322 type monochrome displays. Compatible with 6800 and 8080 type 8-bit parallel displays.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_GLCD_SSD1322.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_GLCD_SSD1322.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ReadFontWidth
SetFontScaler
PrintNumber
DrawLine
| DrawLine | |
| Draws a line with the current foreground colour from pixel location X1, Y1 to pixel location X2, Y2. | |
| X1 | |
| Y1 | |
| X2 | |
| Y2 | |
| Return | |
DrawEllipse
Plot
| Plot | |
| Sets a pixel with the current foreground colour at pixel location X, Y. | |
| X1 | |
| Y1 | |
| Return | |
SetDisplayOrientation
BPlot
| BPlot | |
| Sets a pixel with the current background colour at pixel location X, Y. | |
| X1 | |
| Y1 | |
| Return | |
Window
| Window | |
| X1 | |
| Y1 | |
| X2 | |
| Y2 | |
| Return | |
ReadFontStat
| ReadFontStat | |
| Gets a stat from the selected embedded ASCII font data. | |
| Font | |
| Font selection range: 0 to (NumFonts - 1) | |
| Index | |
| 0=SpaceWidth, 1=PixelHeight | |
| Return | |
SetShadeIntensity
| SetShadeIntensity | |
| Allows the shade intensity to be set allowing for up to 15 different greyscale levels. Range: 1-15 Default: 15 | |
| Shade | |
| Range: 1-15 / 1=Dim / 15 = Bright | |
| Return | |
ClearDisplay
| ClearDisplay | |
| This macro clears the display of any previous output by overwriting the entire display with the background colour. | |
| Return | |
SetBackgroundColour
| SetBackgroundColour | |
| Specifies the colour of the background. | |
| Pixel_Colour | |
| 0=White, 1=Black | |
| Return | |
DrawCircle
SetForegroundColour
| SetForegroundColour | |
| Specifies the colour of the foreground. | |
| Pixel_Colour | |
| 0=White, 1=Black | |
| 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. | |
| Return | |