zudaahmad / simple-modbus

Automatically exported from code.google.com/p/simple-modbus
0 stars 0 forks source link

Using SoftwareSerial #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible to use software serial?  I tried replacing the Serial calls with 
mySerial but I don't know enough about cpp scoping to make it work.  I get 
various scope errors.

Original issue reported on code.google.com by y...@seiner.com on 6 May 2013 at 9:18

GoogleCodeExporter commented 8 years ago
It is possible indeed. I have done it before.

Original comment by bester.j...@gmail.com on 9 May 2013 at 5:30

GoogleCodeExporter commented 8 years ago
Do you still need help on this?

Original comment by bester.j...@gmail.com on 21 May 2013 at 8:20

GoogleCodeExporter commented 8 years ago
I would like help getting the SoftwareSerial to directly communicate with 
Modbus. Do you have an example?

Original comment by idreamin...@gmail.com on 8 Jul 2013 at 10:11

GoogleCodeExporter commented 8 years ago
Greatings,
I have same issue. I need help on this... Is it possible?

Original comment by leitemac...@gmail.com on 19 Nov 2013 at 5:12

GoogleCodeExporter commented 8 years ago
Could you indicate what changes are necessary to adapt the Simple-Modbus 
library for use with SoftwareSerial? I tried to modify the .cpp file without 
success. Thanks in advance.

Original comment by abelr...@gmail.com on 4 Feb 2014 at 5:07

GoogleCodeExporter commented 8 years ago
I was also hoping to see this, but it is over my head.  Maybe overload 
modbus_configure so it can accept either?

Cheers

Original comment by t...@kent.id.au on 3 Mar 2015 at 1:54

GoogleCodeExporter commented 8 years ago
Id like to use your great library with Arduino Yun, where TX RX O and 1 are 
reserved for internal bridge to the Linux part. Is there any way how to use 
another pins as a TX RX pair for Simple Modbus usage? SoftwareSerial or another 
way?
Thanks
Radek

Original comment by radovan....@gmail.com on 16 Apr 2015 at 1:40