Hello. I am looking for a Modbus Master library to use with the Electron and a max485 breakout chip to read data from a modbus slave device. I am currently using SimpleModbusMaster on an Arduino and it has been working fine however I am not experienced enough to port the library for the Electron.
I have looked through previous posts on this topic but was unable to get any of the code working. Does anyone have a working example sketch for getting a master to read the holding registers from a slave?
Any help is appreciated. Thank you.