Difference between revisions of "Component: GLCD (GC9A01A SPI) (Graphical Color)"
Line 17: | Line 17: | ||
==Version information== | ==Version information== | ||
− | + | SetFontScalerSim | |
+ | |||
+ | command | ||
+ | |||
+ | ReadFontWidth | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | ClearSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | BacklightOn | ||
+ | |||
+ | command | ||
+ | |||
+ | FastBPlot | ||
+ | |||
+ | command | ||
+ | |||
+ | SetFontScaler | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | LCD_Write_Reg | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | PrintNumber | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Ev_Initialise | ||
+ | |||
+ | DrawLine | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | PrintNumber_Sim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | LCD_Write_Data8 | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | DrawRoundedRectangleSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | LCD_Read_Data8 | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | FastPlot_Sim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | DrawEllipse | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Plot | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | PlotSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | SetDisplayOrientationSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | InitSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | FastPlot | ||
+ | |||
+ | command | ||
+ | |||
+ | DrawArc | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | SetBGColourSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | DrawLine_Sim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | SendData | ||
+ | |||
+ | command | ||
+ | |||
+ | SetDisplayOrientation | ||
+ | |||
+ | command | ||
+ | |||
+ | Ev_Property | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | BacklightOff | ||
+ | |||
+ | command | ||
+ | |||
+ | DrawEllipseSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | BPlot | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | SetFGColourSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Window_Sim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | DrawRectangleSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Window | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Ev_GetVarSize | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | SendDataArray | ||
+ | |||
+ | command | ||
+ | |||
+ | ReadFontStat | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | PrintSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Print | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | BPlotSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Ev_AddVar | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | DrawArcSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | ClearDisplay | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | SetBackgroundColour | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Ev_Resize | ||
+ | |||
+ | command | ||
+ | |||
+ | DrawCircle | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | ReadASCIILUT | ||
+ | |||
+ | DrawRoundedRectangle | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | SetForegroundColour | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | DrawRectangle | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Main | ||
+ | |||
+ | command | ||
+ | |||
+ | maincommand | ||
+ | |||
+ | comment | ||
+ | |||
+ | command | ||
+ | |||
+ | maincommand | ||
+ | |||
+ | command | ||
+ | |||
+ | maincommand | ||
+ | |||
+ | command | ||
+ | |||
+ | maincommand | ||
+ | |||
+ | DrawCircleSim | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | Initialise | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
+ | |||
+ | command | ||
==Detailed description== | ==Detailed description== | ||
Line 26: | Line 488: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Revision as of 11:24, 14 June 2024
Author | Matrix Ltd |
Version | 2.1 |
Category | Graphical Color |
Contents
- 1 GLCD (GC9A01A SPI) component
- 2 Version information
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 BPlot
- 5.2 BacklightOff
- 5.3 BacklightOn
- 5.4 ClearDisplay
- 5.5 DrawArc
- 5.6 DrawCircle
- 5.7 DrawEllipse
- 5.8 DrawLine
- 5.9 DrawRectangle
- 5.10 DrawRoundedRectangle
- 5.11 FastPlot
- 5.12 Initialise
- 5.13 Plot
- 5.14 Print
- 5.15 PrintNumber
- 5.16 ReadFontStat
- 5.17 ReadFontWidth
- 5.18 SetBackgroundColour
- 5.19 SetDisplayOrientation
- 5.20 SetFontScaler
- 5.21 SetForegroundColour
- 5.22 Window
- 6 Property reference
- 7 Component Source Code
GLCD (GC9A01A SPI) component
Graphical display component designed to work with the GC9A01A controller IC Based on the GC9A01A 16-bit colour graphical controller IC. Uses the SPI CAL component to allow for faster serial display communications.
Version information
SetFontScalerSim
command
ReadFontWidth
command
command
ClearSim
command
command
BacklightOn
command
FastBPlot
command
SetFontScaler
command
command
LCD_Write_Reg
command
command
command
PrintNumber
command
command
Ev_Initialise
DrawLine
command
command
command
command
PrintNumber_Sim
command
command
command
LCD_Write_Data8
command
command
command
DrawRoundedRectangleSim
command
command
LCD_Read_Data8
command
command
command
command
FastPlot_Sim
command
command
DrawEllipse
command
command
Plot
command
command
command
command
command
PlotSim
command
command
SetDisplayOrientationSim
command
command
InitSim
command
command
FastPlot
command
DrawArc
command
command
command
SetBGColourSim
command
command
DrawLine_Sim
command
command
SendData
command
SetDisplayOrientation
command
Ev_Property
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
BacklightOff
command
DrawEllipseSim
command
command
BPlot
command
command
command
command
command
SetFGColourSim
command
command
Window_Sim
command
command
DrawRectangleSim
command
command
Window
command
command
command
command
command
command
command
command
command
command
command
command
command
command
Ev_GetVarSize
command
command
SendDataArray
command
ReadFontStat
command
command
PrintSim
command
command
command
command
command
command
command
command
command
BPlotSim
command
command
Ev_AddVar
command
command
DrawArcSim
command
command
ClearDisplay
command
command
command
command
SetBackgroundColour
command
command
Ev_Resize
command
DrawCircle
command
command
ReadASCIILUT
DrawRoundedRectangle
command
command
command
SetForegroundColour
command
command
DrawRectangle
command
command
command
command
command
Main
command
maincommand
comment
command
maincommand
command
maincommand
command
maincommand
DrawCircleSim
command
command
Initialise
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
command
Detailed description
Click here for an in depth guide to graphical LCDs using Flowcode.
Examples
No additional examples
Macro reference
BPlot
![]() |
BPlot |
Sets a pixel with the current background colour at pixel location X, Y. | |
![]() |
X1 |
![]() |
Y1 |
![]() |
Return |
BacklightOff
![]() |
BacklightOff |
Clears the backlight enable pin allowing the display backlight to switch off. Switching the backlight on and off at high speed allow the light to be dimmed. | |
![]() |
Return |
BacklightOn
![]() |
BacklightOn |
Sets the backlight enable pin allowing the display backlight to switch on. Switching the backlight on and off at high speed allow the light to be dimmed. | |
![]() |
Return |
ClearDisplay
![]() |
ClearDisplay |
This macro clears the display of any previous output by overwriting the entire display with the background colour. | |
![]() |
Return |
DrawArc
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
DrawRoundedRectangle
FastPlot
![]() |
FastPlot |
Sets a pixel with the current foreground colour at current pixel location. Not compatible with orientations other than 0. | |
![]() |
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
SetDisplayOrientation
SetFontScaler
SetForegroundColour
Window
![]() |
Window |
![]() |
X1 |
![]() |
Y1 |
![]() |
X2 |
![]() |
Y2 |
![]() |
Return |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_GLCD_GC9A01A_SPI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_GLCD_GC9A01A_SPI.fcfx