Shellminator V3.0.1
Simple Terminal
|
QR-Code generator. More...
#include <Shellminator-QR-Code-Module.hpp>
Public Member Functions | |
void | generate (Stream *channel_p, const char *text, enum qrcodegen_Ecc ecc=qrcodegen_Ecc_MEDIUM) |
Generates a QR-Code. More... | |
QR-Code generator.
With this class, you can generate a QR code directly to the command line. Big thanks to Nayuki for this awesome library. The C implementation from it is required to make this object work.
Definition at line 73 of file Shellminator-QR-Code-Module.hpp.
void ShellminatorQR::generate | ( | Stream * | channel_p, |
const char * | text, | ||
enum qrcodegen_Ecc | ecc = qrcodegen_Ecc_MEDIUM |
||
) |
Generates a QR-Code.
Generates a QR-Code to the specified channel.
channel_p | Pointer to the output Stream object. |
text | QR-Code will be generated from this text. It has to be NULL terminated. |
ecc | Error correction level. Possible options:
|
Definition at line 178 of file Shellminator-QR-Code-Module.cpp.