Pervasive Displays Library Suite - Reference Manual 9.0.3
Library for Pervasive Displays e-paper screens, extension boards and development kits
|
QR-code library for Pervasive Displays iTC monochrome and colour screens. More...
Macros | |
#define | hV_CODEQR_RELEASE 902 |
Release. | |
Options | |
#define | QR_MODE MODE_ALPHANUMERIC |
recommended | |
#define | QR_ECC ECC_MEDIUM |
error correction | |
#define | QR_VERSION 4 |
#define | QR_MAX_LENGTH 90 |
Functions | |
bool | codeQR (hV_Screen_Virtual *screen, uint16_t x0, uint16_t y0, String text, uint8_t multiplier=2, uint16_t frontColour=myColours.black, uint16_t backColour=myColours.white) |
Generate and display a QR-code. | |
uint16_t | getSizeCodeQR (uint8_t multiplier=2) |
Get the QR-code square size. | |
QR-code library for Pervasive Displays iTC monochrome and colour screens.
Project Pervasive Displays Library Suite
Based on highView technology
#define QR_MAX_LENGTH 90 |
#define QR_VERSION 4 |
version
bool codeQR | ( | hV_Screen_Virtual * | screen, |
uint16_t | x0, | ||
uint16_t | y0, | ||
String | text, | ||
uint8_t | multiplier = 2, | ||
uint16_t | frontColour = myColours.black, | ||
uint16_t | backColour = myColours.white ) |
Generate and display a QR-code.
screen | &screen to display the QR-code on |
x0 | top-left x coordinate |
y0 | top-left y coordinate |
text | text to convert, string or char array |
multiplier | size of each dot, default = 2 recommended |
frontColour | 16-bit colour, default = black |
backColour | 16-bit colour, default = white |
uint16_t getSizeCodeQR | ( | uint8_t | multiplier = 2 | ) |
Get the QR-code square size.
multiplier | size of each dot, default = 2 recommended |