Difference between revisions of "Component: GLCD (ST7567) SPI NOBUFF (Graphical Monochrome)"
From Flowcode Help
Jump to navigationJump to search| Line 14: | Line 14: | ||
| ==GLCD (ST7567) SPI NOBUFF component== | ==GLCD (ST7567) SPI NOBUFF 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 77: | Line 71: | ||
| ''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 754: | Line 750: | ||
| | colspan="2" | The label scale can be change if the amout of text is too wide for the display   | | colspan="2" | The label scale can be change if the amout of text is too wide for the display   | ||
| |} | |} | ||
| + | |||
| + | ==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_NoBuffer.fcfx FC_Comp_Source_GLCD_ST7567_SPI_NoBuffer.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_NoBuffer.fcfx FC_Comp_Source_GLCD_ST7567_SPI_NoBuffer.fcfx] | ||
Revision as of 14:29, 1 March 2024
| Author | Matrix Ltd | 
| Version | 1.5 | 
| Category | Graphical Monochrome | 
Contents
- 1 GLCD (ST7567) SPI NOBUFF 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 NOBUFF 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. | |
|  - 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
Goto_XY
|   | Goto_XY | 
|  - BYTE | X | 
|  - BYTE | Y | 
|  - VOID | 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. | |
|  - 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 foreground | |
|  - BYTE | PixelColour | 
| 0=White, 1=Black | |
|  - VOID | Return | 
SetDisplayOrientation
SetFontScaler
SetForegroundColour
|   | SetForegroundColour | 
| Specifies the colour of the foreground. | |
|  - BYTE | PixelColour | 
| 0=White, 1=Black | |
|  - VOID | Return | 
Write_Command
|   | Write_Command | 
|  - BYTE | Command | 
|  - VOID | Return | 
Write_Data
|   | Write_Data | 
|  - BYTE | data | 
|  - VOID | Return | 
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_GLCD_ST7567_SPI_NoBuffer.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_GLCD_ST7567_SPI_NoBuffer.fcfx










