Difference between revisions of "Component: LCD (BL0169) (E-blocks 2)"
From Flowcode Help
Jump to navigationJump to search(3 intermediate revisions by 2 users not shown) | |||
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_EBlocks2_LCD_BL0169.fcfx FC_Comp_Source_EBlocks2_LCD_BL0169.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_EBlocks2_LCD_BL0169.fcfx FC_Comp_Source_EBlocks2_LCD_BL0169.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 37: | Line 37: | ||
==Examples== | ==Examples== | ||
+ | Example showing the basic function of BL0169 E-blocks 2 alphanumeric Display. | ||
− | + | {{Fcfile|BL0169LCDDemo.fcfx|BL0169 LCD Demo}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Macro reference== | ==Macro reference== | ||
Line 388: | Line 372: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Latest revision as of 07:36, 20 September 2024
Author | Matrix TSL |
Version | 1.0 |
Category | E-blocks 2 |
Contents
LCD component
LCD component to drive the E-blocks 2 BL0169 LCD board. Provides a 4 x 20 character alphanumeric display.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EBlocks2_LCD_BL0169.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EBlocks2_LCD_BL0169.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Example showing the basic function of BL0169 E-blocks 2 alphanumeric Display.
Macro reference
Clear
![]() |
Clear |
Clears the entire contents of the display. | |
![]() |
Return |
ClearLine
Command
Cursor
PrintAscii
![]() |
PrintAscii |
Takes the ascii value for a character and prints the character | |
![]() |
character |
Holds an ascii value. | |
![]() |
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 | |
![]() |
Number |
Enter the number or variable to print to the LCD | |
![]() |
Return |
PrintString
![]() |
PrintString |
Breaks down a string of text and sends it to the LCD via the private RawSend(byte, mask) macro | |
![]() |
Text |
Enter the text or variable to print to the LCD | |
![]() |
Return |
RAMWrite
RawSend
![]() |
RawSend |
Sends data to the LCD display | |
![]() |
data |
The data byte to send to the LCD | |
![]() |
type |
A boolean to indicate command type: true to write data, false to write a command | |
![]() |
Return |
RemapCharacter
ScrollDisplay
![]() |
ScrollDisplay |
Scrolls the display left or right by a number of given positions. | |
![]() |
Position |
Holds the number of positions to shift the display | |
![]() |
Direction |
0 = left, 1 = right | |
![]() |
Return |
Start
![]() |
Start |
Startup routine required by the hardware device. Automatically clears the display after initialising. | |
![]() |
Return |