@@ -61,7 +61,7 @@ long holdingRegisterRead(int id, int address);
61
61
62
62
- id (slave) - id of target, defaults to 0x00 if not specified
63
63
- address start address to use for operation
64
- - holiding register value on success, -1 on failure.
64
+ - holding register value on success, -1 on failure.
65
65
66
66
### ` client.inputRegisterRead() `
67
67
@@ -167,7 +167,7 @@ int beginTransmission(int id, int type, int address, int nb);
167
167
168
168
#### Parameters
169
169
- id (slave) - id of target, defaults to 0x00 if not specified
170
- - type - type of write to perform, either COILS or HOLD_REGISTERS
170
+ - type - type of write to perform, either COILS or HOLDING_REGISTERS
171
171
- address start address to use for operation
172
172
- nb - number of values to write
173
173
@@ -229,7 +229,7 @@ int requestFrom(int id, int type, int address,int nb);
229
229
230
230
#### Parameters
231
231
- id (slave) - id of target, defaults to 0x00 if not specified
232
- type - type of read to perform, either COILS, DISCRETE_INPUTS, HOLD_REGISTERS , or INPUT_REGISTERS
232
+ type - type of read to perform, either COILS, DISCRETE_INPUTS, HOLDING_REGISTERS , or INPUT_REGISTERS
233
233
- address start address to use for operation
234
234
- nb - number of values to read
235
235
@@ -551,7 +551,7 @@ long holdingRegisterRead(int id, int address);
551
551
#### Parameters
552
552
- id (slave) - id of target, defaults to 0x00 if not specified
553
553
- address start address to use for operation
554
- - holiding register value on success, -1 on failure.
554
+ - holding register value on success, -1 on failure.
555
555
556
556
### ` modbusServer.inputRegisterRead() `
557
557
@@ -835,4 +835,3 @@ modbusTCPserver.accept(client);
835
835
836
836
#### Returns
837
837
Nothing
838
-
0 commit comments