Commit d85f2638 authored by Marcel Stör's avatar Marcel Stör
Browse files

Fix grammatical mistakes

parent 84dc61f0
...@@ -34,9 +34,9 @@ Currently only the "data" event is supported. ...@@ -34,9 +34,9 @@ Currently only the "data" event is supported.
#### Parameters #### Parameters
- `method` "data", data has been received on the UART - `method` "data", data has been received on the UART
- `number/end_char` - `number/end_char`
- if pass in a number n<255, the callback will called when n chars are received. - if n=0, will receive every char in buffer
- if n=0, will receive every char in buffer. - if n<255, the callback is called when n chars are received
- if pass in a one char string "c", the callback will called when "c" is encounterd, or max n=255 received. - if one char "c", the callback will be called when "c" is encountered, or max n=255 received
- `function` callback function, event "data" has a callback like this: `function(data) end` - `function` callback function, event "data" has a callback like this: `function(data) end`
- `run_input` 0 or 1. If 0, input from UART will not go into Lua interpreter, can accept binary data. If 1, input from UART will go into Lua interpreter, and run. - `run_input` 0 or 1. If 0, input from UART will not go into Lua interpreter, can accept binary data. If 1, input from UART will go into Lua interpreter, and run.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment