mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add Lua API tio.twrite's documentation and example
This commit is contained in:
parent
d5b4e7d881
commit
a19bf0aa44
4 changed files with 44 additions and 6 deletions
10
README.md
10
README.md
|
|
@ -424,9 +424,15 @@ line may be returned as a second return value.
|
|||
|
||||
#### `tio.write(string)`
|
||||
|
||||
Write string to serial device.
|
||||
Write string to serial device without any of input-editing, output-mapping or output-delay.
|
||||
|
||||
Returns the `tio` table.
|
||||
Returns the tio table on success or nil on error.
|
||||
|
||||
#### `tio.twrite(string)`
|
||||
|
||||
Write string to serial device with input-editing, output-mapping and output-delay.
|
||||
|
||||
Returns the tio table on success or nil on error.
|
||||
|
||||
#### `tio.send(file, protocol)`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue