Difference between revisions of "Component: GLCD (SSD1327) I2C (SSD1327) (Graphical Monochrome)"
From Flowcode Help
Jump to navigationJump to search(2 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
==GLCD (SSD1327) I2C component== | ==GLCD (SSD1327) I2C component== | ||
Graphical display component based on the I2C 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 I2C 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== | ||
+ | Information on the Fonts available for this component are available here. [[Component:_ID_1b08885c_807e_4631_930e_a4fef06159dc|GLCD Font Subcomponent]] | ||
+ | ==Examples== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 67: | Line 43: | ||
+ | ''<span style="color:red;">No additional examples</span>'' | ||
− | |||
Line 791: | Line 767: | ||
|- | |- | ||
| 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]] | ||
Line 803: | Line 789: | ||
|- | |- | ||
| colspan="2" | Allows the communications to be simulated to either see the waveforms on the data recorder or to drive an injector component. | | colspan="2" | Allows the communications to be simulated to either see the waveforms on the data recorder or to drive an injector component. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
+ | |||
+ | ==Component Source Code== | ||
+ | |||
+ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_GLCD_SSD1327_I2C.fcfx FC_Comp_Source_GLCD_SSD1327_I2C.fcfx] | ||
+ | |||
+ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_GLCD_SSD1327_I2C.fcfx FC_Comp_Source_GLCD_SSD1327_I2C.fcfx] |
Latest revision as of 14:29, 1 March 2024
Author | Matrix Ltd |
Version | 1.9 |
Category | Graphical Monochrome |
Contents
- 1 GLCD (SSD1327) I2C 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) I2C component
Graphical display component based on the I2C 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_I2C.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_GLCD_SSD1327_I2C.fcfx