Skip to content

Commit b79129f

Browse files
authored
Minor grammar / typos (#249)
1 parent e0aa79b commit b79129f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

examples/RTU/README.MD

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
This example is introduces how to use the library for ModbusRTU (typicaly over RS-485) to act as [master](master) or [slave](slave). Additionally there is [example of master](ESP32-Concurent) device for multithread usage with ESP32.
1+
This example introduces how to use the library for ModbusRTU (typicaly over RS-485) to act as [master](master) or [slave](slave). Additionally there is [example of master](ESP32-Concurent) device for multithread usage with ESP32.
22

3-
## [Concurent thread-safe access to Modbus object](ESP32-Concurent)
3+
## [Concurrent thread-safe access to Modbus object](ESP32-Concurent)
44

55
## [Simple ModbusRTU master](master)
66

@@ -20,10 +20,10 @@ bool begin(Stream* port);
2020
- `txPin` RX/TX control pin. Not assigned (assume auto RX/TX) by default
2121
- `direct` Direct (true, default) or inverse (false) RX/TX pin control.
2222
23-
Assing Serial port. txPin controls transmit enable for MAX-485.
23+
Assign Serial port. txPin controls transmit enable for MAX-485.
2424
2525
```c
26-
void setBaudrte(uint32 baud);
26+
void setBaudrate(uint32 baud);
2727
```
2828

2929
- `baud` New baudrate.
@@ -33,25 +33,25 @@ Set or override Serial baudrate. Must be called after .begin() for Non-ESP devic
3333
```c
3434
void client();
3535
void server(uint8_t slaveId);
36-
void slave(); // Depricated
37-
void master(uint8_t slaveId); // Depricated
36+
void slave(); // Deprecated
37+
void master(uint8_t slaveId); // Deprecated
3838
```
3939
4040
- `slaveId` Modbus slave id to associate to.
4141
42-
Select and initialize master or slave mode to work. Switching between modes is not supported. Call is not returning error in this case but behaviour is unpredictible.
42+
Select and initialize master or slave mode to work. Switching between modes is not supported. Call is not returning error in this case but behaviour is unpredictable.
4343
4444
```c
4545
uint8_t client();
46-
uint8_t slave(); // Depricated
46+
uint8_t slave(); // Deprecated
4747
```
4848

4949
- Slave mode: Returns configured slave id.
50-
- Master mode: Returns slave id for active request or 0 if no request in-progress.
50+
- Master mode: Returns slave id for active request or 0 if no request in progress.
5151

5252
# Modbus Library for Arduino
5353
### ModbusRTU, ModbusTCP and ModbusTCP Security
5454

5555
(c)2020 [Alexander Emelianov](mailto:a.m.emelianov@gmail.com)
5656

57-
The code in this repo is licensed under the BSD New License. See LICENSE.txt for more info.
57+
The code in this repo is licensed under the BSD New License. See LICENSE.txt for more info.

0 commit comments

Comments
 (0)