Difference between revisions of "Component: GLCD (SSD1306) Buffered (SSD1306) (Graphical Monochrome)"
From Flowcode Help
Jump to navigationJump to searchLine 14: | Line 14: | ||
==GLCD (SSD1306) Buffered component== | ==GLCD (SSD1306) Buffered component== | ||
Graphical display component based on the SSD1306 monochrome graphical controller IC. Functions without the use of a read pin by hosting the 1K of graphical memory using the microcontroller's RAM memory. | Graphical display component based on the SSD1306 monochrome graphical controller IC. Functions without the use of a read pin by hosting the 1K of graphical memory using the microcontroller's RAM memory. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Detailed description== | ==Detailed description== | ||
Line 51: | Line 45: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 728: | Line 724: | ||
| colspan="2" | Rotates the simulated canvas to match the orientation of real world hardware. | | colspan="2" | Rotates the simulated canvas to match the orientation of real world hardware. | ||
|} | |} | ||
+ | |||
+ | ==Component Source Code== | ||
+ | |||
+ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_GLCD_SSD1306_buffered.fcfx FC_Comp_Source_GLCD_SSD1306_buffered.fcfx] | ||
+ | |||
+ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_GLCD_SSD1306_buffered.fcfx FC_Comp_Source_GLCD_SSD1306_buffered.fcfx] |
Revision as of 14:29, 1 March 2024
Author | Matrix Ltd |
Version | 1.6 |
Category | Graphical Monochrome |
Contents
- 1 GLCD (SSD1306) Buffered component
- 2 Detailed description
- 3 Examples
- 4 Macro reference
- 4.1 BPlot
- 4.2 ClearDisplay
- 4.3 ControlContrast
- 4.4 ControlDisplay
- 4.5 DrawCircle
- 4.6 DrawEllipse
- 4.7 DrawLine
- 4.8 DrawRectangle
- 4.9 Initialise
- 4.10 InvertDisplay
- 4.11 Plot
- 4.12 Print
- 4.13 PrintNumber
- 4.14 ReadFontStat
- 4.15 ReadFontWidth
- 4.16 SendCommand
- 4.17 SetBackgroundColour
- 4.18 SetDisplayOrientation
- 4.19 SetFontScaler
- 4.20 SetForegroundColour
- 5 Property reference
- 6 Component Source Code
GLCD (SSD1306) Buffered component
Graphical display component based on the SSD1306 monochrome graphical controller IC. Functions without the use of a read pin by hosting the 1K 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. | |
![]() |
X1 |
![]() |
Y1 |
![]() |
Return |
ClearDisplay
![]() |
ClearDisplay |
This macro clears the display of any previous output by overwriting the entire display with the background colour. | |
![]() |
Return |
ControlContrast
![]() |
ControlContrast |
Sets the display contrast from 0 to 255. | |
![]() |
Contrast |
Range 0 - 255, Default 207 | |
![]() |
Return |
ControlDisplay
![]() |
ControlDisplay |
Allows the display to be switched on and off | |
![]() |
Control |
0=Off, 1=On | |
![]() |
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
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 |
InvertDisplay
![]() |
InvertDisplay |
![]() |
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
SendCommand
![]() |
SendCommand |
![]() |
Command |
![]() |
Return |
SetBackgroundColour
![]() |
SetBackgroundColour |
Specifies the colour of the background by creating a mixture of red, green and blue. | |
![]() |
PixelColour |
0=White, 1=Black | |
![]() |
Return |
SetDisplayOrientation
SetFontScaler
SetForegroundColour
![]() |
SetForegroundColour |
Specifies the colour of the foreground by creating a mixture of red, green and blue. | |
![]() |
PixelColour |
0=White, 1=Black | |
![]() |
Return |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_GLCD_SSD1306_buffered.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_GLCD_SSD1306_buffered.fcfx