goburrow / serial

Go (golang) serial library for modbus
https://github.com/goburrow/modbus
MIT License
191 stars 90 forks source link

"System cannot find the file specified" when the port Address number is greater than 10 #13

Open Edgar242 opened 5 years ago

Edgar242 commented 5 years ago

When the port Address number was greater, windows responded with the error "System cannot find the file specified". The solution to this problem is adding some back slashes to the port Address, other libraries are using this method. I already tested and my problem was solved

(Formatting was done via the golang format tool)

Thanks