Component: GLCD QR Code Generator (Graphical Library)

From Flowcode Help
Jump to navigationJump to search
Author Matrix TSL
Version 2.2
Category Graphical Library


GLCD QR Code Generator component

A component to generate QR codes for displaying on a GLCD.

Detailed description

No detailed description exists yet for this component

Examples

Here a simple example showing a QR code being generated on a display.

The size of the QR code in blocks is set using the QR version component property.

The size in pixels of each block is set using the BlockSize function parameter.

FC6 Icon.png QR Demo

Macro reference

DrawQRCode

Fc9-comp-macro.png DrawQRCode
Generates and displays the QR code. Returns the detected data type, 0=Numeric, 1=Alphanumeric, 2=Byte, 3=DataTooLongError  
Fc9-string-icon.png - STRING Data
QR Code data to embed, e.g. URL, Message or Phone number 
Fc9-u16-icon.png - UINT X
Left hand side coordinate to start drawing 
Fc9-u16-icon.png - UINT Y
Right hand side coordinate to start drawing 
Fc9-u8-icon.png - BYTE BlockSize
The size of each segment in pixels. Default 1 
Fc9-u8-icon.png - BYTE Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png LinkTo
 
Fc9-type-7-icon.png ColourDisplay
Automatically detects if the graphical LCD object is colour or monochrome 
Fc9-type-16-icon.png InvertColour
 
Fc9-conn-icon.png QR Settings
Fc9-type-16-icon.png QR Version
Sets the size of the QR code in graphical squares 
Fc9-type-16-icon.png Error Correction
Sets the level of error correction available 
Fc9-type-21-icon.png Max Chars Numeric
The maximum number of character bytes that can be stored in the QR code based on the selected QR settings. Range of data to qualify is characters '0' - '9' 
Fc9-type-21-icon.png Max Chars Alphanumeric
The maximum number of character bytes that can be stored in the QR code based on the selected QR settings. Range of data to qualify is characters '0' - '9' / 'A' - 'Z' / ' ' / '$' / '%' / '*' / '+' / '-' / '.' / '/' / ':' 
Fc9-type-21-icon.png Max Chars Byte
The maximum number of character bytes that can be stored in the QR code based on the selected QR settings. Range of data is ASCII codes 1 - 254 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Lib_QRCode.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Lib_QRCode.fcfx