mirror of
https://gitlab.com/jessieh/qrprinter.git
synced 2024-12-11 14:01:46 +00:00
Update README.md
This commit is contained in:
parent
d72f1771d6
commit
189573147d
@ -12,6 +12,8 @@ Install with [luarocks](https://luarocks.org):
|
|||||||
luarocks install qrprinter
|
luarocks install qrprinter
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For a list of available versions, see the [luarocks module page](https://luarocks.org/modules/jessieh/qrprinter).
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
<img src="../../raw/assets/demo.png" width=500>
|
<img src="../../raw/assets/demo.png" width=500>
|
||||||
@ -24,9 +26,8 @@ luarocks install qrprinter
|
|||||||
```
|
```
|
||||||
qrprinter.encode_string( string )
|
qrprinter.encode_string( string )
|
||||||
```
|
```
|
||||||
Encodes `string` into a table representing a QR code.
|
Encodes `string` into a table representing a QR code.\
|
||||||
|
Returns a two-dimensional sequential table of true/false values representing black/white QR modules.
|
||||||
Returns a 2D sequential table of true/false values representing black/white QR modules.
|
|
||||||
|
|
||||||
### Printing
|
### Printing
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user