Difference between revisions of "Component: GLCD (ST7567) SPI (Graphical Monochrome)"
From Flowcode Help
Jump to navigationJump to searchLine 14: | Line 14: | ||
==GLCD (ST7567) SPI component== | ==GLCD (ST7567) SPI component== | ||
Graphical display component designed to work with the ST7567 type monochrome displays. Transfers data using a 4-wire SPI interface, cannot read back so pixel based routines won't work Not for public release. | Graphical display component designed to work with the ST7567 type monochrome displays. Transfers data using a 4-wire SPI interface, cannot read back so pixel based routines won't work Not for public release. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Detailed description== | ==Detailed description== | ||
Line 48: | Line 42: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 705: | Line 701: | ||
| colspan="2" | | | colspan="2" | | ||
|} | |} | ||
+ | |||
+ | ==Component Source Code== | ||
+ | |||
+ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_GLCD_ST7567_SPI.fcfx FC_Comp_Source_GLCD_ST7567_SPI.fcfx] | ||
+ | |||
+ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_GLCD_ST7567_SPI.fcfx FC_Comp_Source_GLCD_ST7567_SPI.fcfx] |
Revision as of 14:29, 1 March 2024
Author | Matrix Ltd |
Version | 1.5 |
Category | Graphical Monochrome |
Contents
- 1 GLCD (ST7567) SPI component
- 2 Detailed description
- 3 Examples
- 4 Macro reference
- 4.1 BPlot
- 4.2 ClearDisplay
- 4.3 DrawCircle
- 4.4 DrawEllipse
- 4.5 DrawLine
- 4.6 DrawRectangle
- 4.7 Goto_XY
- 4.8 Initialise
- 4.9 Plot
- 4.10 Print
- 4.11 PrintNumber
- 4.12 ReadFontStat
- 4.13 ReadFontWidth
- 4.14 SetBackgroundColour
- 4.15 SetDisplayOrientation
- 4.16 SetFontScaler
- 4.17 SetForegroundColour
- 4.18 Write_Command
- 4.19 Write_Data
- 5 Property reference
- 6 Component Source Code
GLCD (ST7567) SPI component
Graphical display component designed to work with the ST7567 type monochrome displays. Transfers data using a 4-wire SPI interface, cannot read back so pixel based routines won't work Not for public release.
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. | |
![]() |
X1 |
![]() |
Y1 |
![]() |
Return |
ClearDisplay
![]() |
ClearDisplay |
This macro clears the display of any previous output by overwriting the entire display with the background colour. | |
![]() |
Return |
DrawCircle
DrawEllipse
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 |
DrawRectangle
Goto_XY
![]() |
Goto_XY |
![]() |
X |
![]() |
Y |
![]() |
Return |
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 |
Plot
![]() |
Plot |
Sets a pixel with the current foreground colour at pixel location X, Y. | |
![]() |
X1 |
![]() |
Y1 |
![]() |
Return |
PrintNumber
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 |
ReadFontWidth
SetBackgroundColour
![]() |
SetBackgroundColour |
Specifies the colour of the foreground | |
![]() |
PixelColour |
0=White, 1=Black | |
![]() |
Return |
SetDisplayOrientation
SetFontScaler
SetForegroundColour
![]() |
SetForegroundColour |
Specifies the colour of the foreground. | |
![]() |
PixelColour |
0=White, 1=Black | |
![]() |
Return |
Write_Command
![]() |
Write_Command |
![]() |
Command |
![]() |
Return |
Write_Data
![]() |
Write_Data |
![]() |
data |
![]() |
Return |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_GLCD_ST7567_SPI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_GLCD_ST7567_SPI.fcfx