xiegeo / modbusone Goto Github PK
View Code? Open in Web Editor NEWA modbus library for Go, with unified client and server APIs. One implementation to rule them all.
License: BSD 3-Clause "New" or "Revised" License
A modbus library for Go, with unified client and server APIs. One implementation to rule them all.
License: BSD 3-Clause "New" or "Revised" License
First of all, let me congratulate for this fabulous package!
I had to implement an RS-485 (Modbus) interface on an RPI 3B using a Seeed RS-485 Shield. I have done the whole process (together with other processes) with RXJAVA using Pi4J (which uses the Wiringpi library) and it works fine. But I have to port the whole system to C or GO because of performance (speed) reasons. And I definitely prefer doing it in GO and if possible, by using your package with some little modifications. The modifications are needed because the Seeed Shield uses a GPIO pin to set the data flow direction of the RS485 communication.
To use the Seeed Shield, the following has to be done:
I will gladly write (and publish) the modifications, however it would be much faster if you could send me some advice. I would appreciate if you could me pinpoint the points in the code where the transmission turns into reception and viceversa. Toggling a GPIO pin on the raspberry can be easily done with existing open source packages, so this part of the project is relatively easy.
Of course if my request is too much, just forget it, I will inspect the code myself.
Regards,
Line 154 in 56d3ed5
I believe this should append a number of bytes, not a byte of the number.
Hi,
first and foremost thanks for the library, its amazing.
Could you add a version tag to the current master?
Else when using go get github.com/xiegeo/modbusone
without explicitly specifying @master
, an outdated dependency is pulled.
Thank you very much ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.