| 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.
QR Demo
Macro reference
DrawQRCode
|
DrawQRCode
|
| Generates and displays the QR code. Returns the detected data type, 0=Numeric, 1=Alphanumeric, 2=Byte, 3=DataTooLongError
|
- STRING
|
Data
|
| QR Code data to embed, e.g. URL, Message or Phone number
|
- UINT
|
X
|
| Left hand side coordinate to start drawing
|
- UINT
|
Y
|
| Right hand side coordinate to start drawing
|
- BYTE
|
BlockSize
|
| The size of each segment in pixels. Default 1
|
- BYTE
|
Return
|
Property reference
|
Properties
|
|
LinkTo
|
|
|
|
ColourDisplay
|
| Automatically detects if the graphical LCD object is colour or monochrome
|
|
InvertColour
|
|
|
|
QR Settings
|
|
QR Version
|
| Sets the size of the QR code in graphical squares
|
|
Error Correction
|
| Sets the level of error correction available
|
|
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'
|
|
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' / ' ' / '$' / '%' / '*' / '+' / '-' / '.' / '/' / ':'
|
|
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