-
Notifications
You must be signed in to change notification settings - Fork 88
uiform dmdecode
Matthias Görges edited this page Jul 14, 2016
·
3 revisions
The uiform dmdecode element takes a photo of a data matrix 2D barcode and displays it's content as a string.
| Parameter | Default | Description |
|---|---|---|
| id | #f | Variable to store decoded string in |
| location | 'db | Dmdecode variable storage location |
| default | "" | Default text before decoding |
Example 1: A complete page with data matrix encoding and decoding, from LNhealth's apps/WidgetDemo
(ex_barcodes
"Barcodes"
("Prev" ex_camera)
("Next" ex_sensors)
(spacer)
(label text "Data Matrix Barcode:")
(spacer)
(dmencode text "http://lambdanative.org")
(spacer)
(label text "Touch button to take photo and\nscan it for DM barcode:" wrap #t)
(spacer)
(dmdecode id dmtest default "<no code>")
(spacer)
)