Difference between revisions of "Component: GLCD (SSD1327) SPI (SSD1327) (Graphical Monochrome)"
From Flowcode Help
Jump to navigationJump to search| Line 14: | Line 14: | ||
| ==GLCD (SSD1327) SPI component== | ==GLCD (SSD1327) SPI component== | ||
| Graphical display component based on the SPI version of the SSD1327 monochrome graphical controller IC. Functions without the use of a read pin by hosting the 2K of graphical memory using the  microcontroller's RAM memory. | Graphical display component based on the SPI version of the SSD1327 monochrome graphical controller IC. Functions without the use of a read pin by hosting the 2K of graphical memory using the  microcontroller's RAM memory. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| ==Detailed description== | ==Detailed description== | ||
| Line 50: | Line 44: | ||
| ''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 813: | Line 809: | ||
| | colspan="2" | Specifies the injector component on the panel to interact with to provide comms simulation.  | | colspan="2" | Specifies the injector component on the panel to interact with to provide comms simulation.  | ||
| |} | |} | ||
| + | |||
| + | ==Component Source Code== | ||
| + | |||
| + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_GLCD_SSD1327_SPI.fcfx FC_Comp_Source_GLCD_SSD1327_SPI.fcfx] | ||
| + | |||
| + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_GLCD_SSD1327_SPI.fcfx FC_Comp_Source_GLCD_SSD1327_SPI.fcfx] | ||
Revision as of 14:29, 1 March 2024
| Author | Matrix Ltd | 
| Version | 1.9 | 
| Category | Graphical Monochrome | 
Contents
- 1 GLCD (SSD1327) SPI component
- 2 Detailed description
- 3 Examples
- 4 Macro reference
- 4.1 BPlot
- 4.2 ClearDisplay
- 4.3 ControlDisplay
- 4.4 DrawCircle
- 4.5 DrawEllipse
- 4.6 DrawLine
- 4.7 DrawRectangle
- 4.8 Initialise
- 4.9 InvertDisplay
- 4.10 Plot
- 4.11 Print
- 4.12 PrintNumber
- 4.13 ReadFontStat
- 4.14 ReadFontWidth
- 4.15 Refresh
- 4.16 SendCommand
- 4.17 SetBackgroundColour
- 4.18 SetDisplayOrientation
- 4.19 SetFontScaler
- 4.20 SetForegroundColour
- 4.21 SetShadeIntensity
- 4.22 Window
 
- 5 Property reference
- 6 Component Source Code
GLCD (SSD1327) SPI component
Graphical display component based on the SPI version of the SSD1327 monochrome graphical controller IC. Functions without the use of a read pin by hosting the 2K of graphical memory using the microcontroller's RAM memory.
Detailed description
Information on the Fonts available for this component are available here. GLCD Font Subcomponent
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 | 
ControlDisplay
|   | ControlDisplay | 
| Allows the display to be switched on and off | |
|  - BYTE | Control | 
| 0=Off, 1=On | |
|  - 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 | 
InvertDisplay
|   | InvertDisplay | 
|  - 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
Refresh
|   | Refresh | 
| Refreshes the entire display by sending the contents of the local RAM to the display at high speed | |
|  - VOID | Return | 
SendCommand
|   | SendCommand | 
|  - BYTE | Command | 
|  - VOID | Return | 
SetBackgroundColour
|   | SetBackgroundColour | 
| Specifies the colour of the background by creating a mixture of red, green and blue. | |
|  - BYTE | PixelColour | 
| 0=White, 1=Black | |
|  - VOID | Return | 
SetDisplayOrientation
SetFontScaler
SetForegroundColour
|   | SetForegroundColour | 
| Specifies the colour of the foreground by creating a mixture of red, green and blue. | |
|  - BYTE | PixelColour | 
| 0=White, 1=Black | |
|  - VOID | Return | 
SetShadeIntensity
|   | SetShadeIntensity | 
| Allows the shade intensity to be set allowing for up to 15 different greyscale levels. Range: 1-15 Default: 15 | |
|  - BYTE | Shade | 
| Range: 1-15 Default: 15 | |
|  - VOID | Return | 
Window
|   | Window | 
|  - UINT | X1 | 
|  - UINT | Y1 | 
|  - UINT | X2 | 
|  - UINT | Y2 | 
|  - VOID | Return | 
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_GLCD_SSD1327_SPI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_GLCD_SSD1327_SPI.fcfx










