1
mirror of https://gitlab.com/jessieh/qrprinter.git synced 2024-09-16 13:11:45 +00:00

Update README.md

This commit is contained in:
Jessie Hildebrandt 2021-10-07 04:36:27 -04:00
parent d72f1771d6
commit 189573147d

View File

@ -12,6 +12,8 @@ Install with [luarocks](https://luarocks.org):
luarocks install qrprinter
```
For a list of available versions, see the [luarocks module page](https://luarocks.org/modules/jessieh/qrprinter).
## Example Usage
<img src="../../raw/assets/demo.png" width=500>
@ -24,9 +26,8 @@ luarocks install qrprinter
```
qrprinter.encode_string( string )
```
Encodes `string` into a table representing a QR code.
Returns a 2D sequential table of true/false values representing black/white QR modules.
Encodes `string` into a table representing a QR code.\
Returns a two-dimensional sequential table of true/false values representing black/white QR modules.
### Printing