Closed GermanBluefox closed 8 years ago
You have to delete the .SerialPort on the require('Serialport').SerialPort to omit that
I wrote it to BauchBeinePoe, so he can modify this line.
https://github.com/Cloud-Automation/node-modbus/blob/master/src/modbus-serial-client.js#L11
I tested the serial communication and got:
DEPRECATION: Please use
require('serialport')
instead ofrequire('serialport').SerialPort