yaacov / ArduinoModbusSlave

Modbus slave library for Arduino
ISC License
205 stars 75 forks source link

change Slave_ID in void setup() #79

Closed amirSaffari1234 closed 2 years ago

amirSaffari1234 commented 3 years ago

is there any solution to change Slave_ID in void_setup? i want to set Slave_ID with dip switch

ysmilda commented 3 years ago

You can do that via the setUnitAdress() function

amirSaffari1234 commented 3 years ago

setUnitAdress()

Thank you very much