Difference between revisions of "Component: GLCD (ST7565R) Parallel (Graphical Monochrome)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 24: | Line 26: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 89: | Line 93: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" | Number | | width="90%" | Number | ||
|- | |- |
Revision as of 13:33, 17 November 2021
Author | Matrix Ltd |
Version | 1.5 |
Category | Graphical Monochrome |
Contents
GLCD (ST7565R) Parallel component
Graphical display component designed to work with the ST7565 type monochrome displays. Transfers data using an 8-bit digital data bus.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
DrawLine |
Draws a line with the current foreground colour from pixel location X1, Y1 to pixel location X2, Y2. | |
![]() |
X1 |
![]() |
Y1 |
![]() |
X2 |
![]() |
Y2 |
![]() |
Return |
![]() |
Plot |
Sets a pixel with the current foreground colour at pixel location X, Y. | |
![]() |
X1 |
![]() |
Y1 |
![]() |
Return |
![]() |
BPlot |
Sets a pixel with the current background colour at pixel location X, Y. | |
![]() |
X1 |
![]() |
Y1 |
![]() |
Return |
![]() |
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 |
![]() |
ClearDisplay |
This macro clears the display of any previous output by overwriting the entire display with the background colour. | |
![]() |
Return |
![]() |
SetBackgroundColour |
Specifies the colour of the foreground | |
![]() |
PixelColour |
0=White, 1=Black | |
![]() |
Return |
![]() |
SetForegroundColour |
Specifies the colour of the foreground. | |
![]() |
PixelColour |
0=White, 1=Black | |
![]() |
Return |
![]() |
Initialise |
The Init macro must be called once to initialise the Graphical LCD display before any other Graphical LCD component macros are called. | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Pixel Width |
Width of gLCD canvas measured in pixels. | |
![]() |
Pixel Height |
Heigt of gLCD canvas measured in pixels. | |
![]() |
Monochrome |
Specifies if the display is capable of colour or monochrome only. | |
![]() |
Foreground Color |
Specifies the initial foreground color. | |
![]() |
Background Color |
Specifies the initial background color. | |
![]() |
Color Bit Depth |
Number of bits of colour depth available on the display | |
![]() |
Red Bit Depth |
Number of bits of Red colour depth on the display | |
![]() |
Green Bit Depth |
Number of bits of Green colour depth on the display | |
![]() |
Blue Bit Depth |
Number of bits of Blue colour depth on the display | |
![]() |
Font Count |
Specifies the number of fonts available to use on the display. | |
![]() |
Font |
Font picker to decide which font to use on your display. | |
![]() |
Character Spacing |
Sets the number of blank pixels between each character when printing text. Default 1. | |
![]() |
Space Width |
Sets the number of horizontal pixels used to represent a space character. | |
![]() |
Font |
Font picker to decide which font to use on your display. | |
![]() |
Character Spacing |
Sets the number of blank pixels between each character when printing text. Default 1. | |
![]() |
Space Width |
Sets the number of horizontal pixels used to represent a space character. | |
![]() |
Font |
Font picker to decide which font to use on your display. | |
![]() |
Character Spacing |
Sets the number of blank pixels between each character when printing text. Default 1. | |
![]() |
Space Width |
Sets the number of horizontal pixels used to represent a space character. | |
![]() |
Font |
Font picker to decide which font to use on your display. | |
![]() |
Character Spacing |
Sets the number of blank pixels between each character when printing text. Default 1. | |
![]() |
Space Width |
Sets the number of horizontal pixels used to represent a space character. | |
![]() |
Display Method |
Chooses which method to use when drawing to the gLCD component The bitmap is the more common mode but may run slowly on some machines. The point cloud should run faster but may use more memory. | |
![]() |
Connections |
![]() |
Data Pins |
Decides if the 8-bit data bus is controlled using a full port or individual pins. A full port will run faster whereas individual pins allow for more flexibility. | |
File:Fc9-type-4-icon.png | DATAPORT |
![]() |
CS1 |
Chip select pin | |
![]() |
RES |
Reset pin | |
![]() |
A0 |
Address pin to tell the display if we are sending commands or data | |
![]() |
RD_E |
Enable pin used to clock data into the display | |
![]() |
WR_RW |
Read Write pin to set the display data mode | |
![]() |
MODE |
![]() |
Simulations |