From d85f2638cdb5d2130fabdae688ba7c451fdce53a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Wed, 14 Dec 2016 07:34:00 +0100 Subject: [PATCH] Fix grammatical mistakes --- docs/en/modules/uart.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/modules/uart.md b/docs/en/modules/uart.md index a389fb8b..fd1c52e9 100644 --- a/docs/en/modules/uart.md +++ b/docs/en/modules/uart.md @@ -34,9 +34,9 @@ Currently only the "data" event is supported. #### Parameters - `method` "data", data has been received on the UART - `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 pass in a one char string "c", the callback will called when "c" is encounterd, or max n=255 received. + - if n=0, will receive every char in buffer + - if n<255, the callback is called when n chars are 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` - `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.