Difference between revisions of "Component: GLCD MIAC Dummy (Displays: Graphical)"
From Flowcode Help
Jump to navigationJump to search| (8 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
| ==Component Source Code== | ==Component Source Code== | ||
| − | Please click here  | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Dummy__GLCD_MIAC.fcfx FC_Comp_Source_Dummy__GLCD_MIAC.fcfx] | 
| + | |||
| + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Dummy__GLCD_MIAC.fcfx FC_Comp_Source_Dummy__GLCD_MIAC.fcfx] | ||
| ==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| Line 26: | Line 38: | ||
| ==Examples== | ==Examples== | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| Line 31: | Line 53: | ||
| ''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| − | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==Macro reference== | ||
| + | |||
| + | ===DisplayCursor=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayCursor''' | 
| + | |- | ||
| + | | colspan="2" | Moves the display cursor to the given position. If the cursor is set to the origin at x=0, y=0, then the next character sent to the display will appear in the top left corner.   | ||
| + | |- | ||
| |- | |- | ||
| − | |  | + | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| + | | width="90%" | x | ||
| |- | |- | ||
| + | | colspan="2" | Position of the cursor in characters from left to right.  | ||
| |- | |- | ||
| − | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| − | | width="90%" |  | + | | width="90%" | y | 
| |- | |- | ||
| − | | colspan="2" | The  | + | | colspan="2" | The line to move the cursor to.  | 
| |- | |- | ||
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
| Line 51: | Line 89: | ||
| + | ===DrawPixel=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawPixel''' | 
| |- | |- | ||
| | colspan="2" |   | | colspan="2" |   | ||
| |- | |- | ||
| |- | |- | ||
| − | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| − | | width="90%" |  | + | | width="90%" | px | 
| |- | |- | ||
| | colspan="2" |   | | colspan="2" |   | ||
| |- | |- | ||
| − | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | 
| − | | width="90%" |  | + | | width="90%" | py | 
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| |- | |- | ||
| | colspan="2" |   | | colspan="2" |   | ||
| Line 89: | Line 118: | ||
| + | ===DrawRect=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawRect''' | 
| + | |- | ||
| + | | colspan="2" |   | ||
| + | |- | ||
| + | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT | ||
| + | | width="90%" | X1 | ||
| |- | |- | ||
| | colspan="2" |   | | colspan="2" |   | ||
| |- | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT | ||
| + | | width="90%" | Y1 | ||
| + | |- | ||
| + | | colspan="2" |   | ||
| |- | |- | ||
| − | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT | 
| − | | width="90%" |  | + | | width="90%" | X2 | 
| |- | |- | ||
| | colspan="2" |   | | colspan="2" |   | ||
| |- | |- | ||
| − | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT | 
| − | | width="90%" |  | + | | width="90%" | Y2 | 
| |- | |- | ||
| | colspan="2" |   | | colspan="2" |   | ||
| Line 117: | Line 157: | ||
| + | ===PrintString=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintString''' | 
| |- | |- | ||
| − | | colspan="2" |  | + | | colspan="2" | Prints the given character string to the display at the current cursor position and moves the cursor position.  | 
| |- | |- | ||
| |- | |- | ||
| − | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING | 
| − | | width="90%" |  | + | | width="90%" | Str | 
| |- | |- | ||
| − | | colspan="2" |  | + | | colspan="2" | The string to send to the display.  | 
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| |- | |- | ||
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
| | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
| |} | |} | ||
| − | |||
| − | |||
Latest revision as of 13:09, 7 February 2023
| Author | MatrixTSL | 
| Version | 1.0 | 
| Category | Displays: Graphical | 
Contents
GLCD MIAC Dummy component
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Dummy__GLCD_MIAC.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Dummy__GLCD_MIAC.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
DisplayCursor
DrawPixel
|   | DrawPixel | 
|  - BYTE | px | 
|  - BYTE | py | 
|  - BYTE | state | 
|  - VOID | Return | 
DrawRect
|   | DrawRect | 
|  - UINT | X1 | 
|  - UINT | Y1 | 
|  - UINT | X2 | 
|  - UINT | Y2 | 
|  - BYTE | state | 
|  - VOID | Return | 
PrintString
|   | PrintString | 
| Prints the given character string to the display at the current cursor position and moves the cursor position. | |
|  - STRING | Str | 
| The string to send to the display. | |
|  - VOID | Return | 
Property reference
|   | Properties | 
