Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while using Arduino Due #19

Open
GoogleCodeExporter opened this issue Oct 13, 2015 · 3 comments
Open

Error while using Arduino Due #19

GoogleCodeExporter opened this issue Oct 13, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link
Contributor


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 [email protected] on 15 Sep 2013 at 5:50

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 17 Sep 2013 at 9:10

  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Contributor Author

This is not a defect but a limitation of V1.5

Original comment by [email protected] on 26 Sep 2013 at 11:23

  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Contributor Author

k.

thanks juan..

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

by the way great work by you.

Original comment by [email protected] on 26 Sep 2013 at 4:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant