Activity › Forums › Questions & Troubleshooting › Multiple ModbusRTU device
-
So, i would like to use multiple Modbus device and they are of different parity check. How can i program them? If i use ModbusRTU::end() to terminate the communication and start a new one, i think it will crash somehow. Do i make another struct object like ControllinoModbusMaster2(MasterModbusAdd, RS485Serial, 0)? Will this cause crash while running?
- This discussion was modified 3 years ago by ryan.
-
I have tested it. I think if i just write two begin with different parity check, they will just crash and no signal is R/W. Is there any way to use the end() function in the struct? I see it but when i tried to use it, it will be a error. I also dont see the detail code for this function.
Viewing 1 - 2 of 2 replies
Log in to reply.