Difference between revisions of "Component: LCD (Electronic Assembly) (Alphanumeric)"
From Flowcode Help
Jump to navigationJump to search| Line 17: | Line 17: | ||
| ==Component Source Code== | ==Component Source Code== | ||
| − | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_LCD-W162-XBLW.fcfx FC_Comp_Source_LCD-W162-XBLW.fcfx] | 
| − | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_LCD-W162-XBLW.fcfx FC_Comp_Source_LCD-W162-XBLW.fcfx] | 
| ==Detailed description== | ==Detailed description== | ||
| Line 52: | Line 52: | ||
| ''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
Latest revision as of 13:11, 7 February 2023
| Author | Matrix Ltd | 
| Version | 2.1 | 
| Category | Alphanumeric | 
Contents
LCD (Electronic Assembly) component
Generic configurable alphanumeric LCD display component based on the OLED Hitachi like display controller ICs from Electronic Assembly wiith selectable 4/8 bit interface. These have a very slight timing difference from the standard Hitachi displays.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_LCD-W162-XBLW.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_LCD-W162-XBLW.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Clear
|   | Clear | 
| Clears the entire contents of the display. | |
|  - VOID | Return | 
ClearLine
Command
Cursor
PrintAscii
|   | PrintAscii | 
| Takes the ascii value for a character and prints the character | |
|  - BYTE | character | 
| Holds an ascii value. | |
|  - VOID | Return | 
PrintFloat
PrintFormattedNumber
PrintNumber
|   | PrintNumber | 
| Based on v5 macro, will allow you to print a number. This is limited to a signed-INT, -32768 to 32767 | |
|  - INT | Number | 
| Enter the number or variable to print to the LCD | |
|  - VOID | Return | 
PrintString
|   | PrintString | 
| Breaks down a string of text and sends it to the LCD via the private RawSend(byte, mask) macro | |
|  - STRING | Text | 
| Enter the text or variable to print to the LCD | |
|  - VOID | Return | 
RAMWrite
RawSend
|   | RawSend | 
| Sends data to the LCD display | |
|  - BYTE | data | 
| The data byte to send to the LCD | |
|  - BOOL | type | 
| A boolean to indicate command type: true to write data, false to write a command | |
|  - VOID | Return | 
ScrollDisplay
|   | ScrollDisplay | 
| Scrolls the display left or right by a number of given positions. | |
|  - BYTE | Position | 
| Holds the number of positions to shift the display | |
|  - BYTE | direction | 
| 0 = left, 1 = right | |
|  - VOID | Return | 
Start
|   | Start | 
| Startup routine required by the hardware device. Automatically clears the display after initialising. | |
|  - VOID | Return | 









