adamgreschner / simple-modbus

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

Error while using Arduino Due #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

I am trying to communicate between arduino due and PLC through MODBUS 
PROTOCOL.I came across your example and this is the error stoping me.

Error while Compiling your examples

SimpleModbusSlaveArduino.ino: In function 'void setup()':
SimpleModbusSlaveArduino:80: error: 'SERIAL_8N2' was not declared in this scope

I am usind Arduino IDE 1.5.1r2 on windows 7 home basic

The board is Arduino Due.

Is there any problems for parity and stop bits on this IDE or on DUE.

please Help.
Thank you.

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by siddhesh...@gmail.com on 15 Sep 2013 at 5:50

GoogleCodeExporter commented 8 years ago
Hi,

The Due (IDE v1.5) does not support the parity byte. The last library version 
to work on the Due I think was SMMV9 and SMSV7. Check out the thread  
http://forum.arduino.cc/index.php?topic=176142.0 there's allot of info..

Original comment by bester.j...@gmail.com on 17 Sep 2013 at 9:10

GoogleCodeExporter commented 8 years ago
This is not a defect but a limitation of V1.5

Original comment by bester.j...@gmail.com on 26 Sep 2013 at 11:23

GoogleCodeExporter commented 8 years ago
k.

thanks juan..

now i have got a mega. I will try on it.

by the way great work by you.

Original comment by siddhesh...@gmail.com on 26 Sep 2013 at 4:12