zudaahmad / simple-modbus

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

Arduino Ver1.5.4 there is an error in the simpleModbus libraries. #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Arduino Ver1.5.4 there is an error in the simpleModbus libraries. 

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 hongj...@gmail.com on 24 Sep 2013 at 6:01

GoogleCodeExporter commented 8 years ago
Could you be a bit more specific?

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

GoogleCodeExporter commented 8 years ago
I'm sorry I do not speak English well.
Thank you for answers.
simplemodbus master V10 from arduino 1.5.4 compile the example and the 
following error message is displayed.

"SimpleModbusMasterArduino.ino: In function 'void setup ()':
 SimpleModbusMasterArduino: 171: error: 'SERIAL_8N2' was not declared in this scope "

Thank you

Original comment by hongj...@gmail.com on 26 Sep 2013 at 11:27

GoogleCodeExporter commented 8 years ago
SMMV10 and SMSV7 does not support V1.5 due to this version not implementing 
parity. You will need to remove the parity options in the cpp file.

Original comment by bester.j...@gmail.com on 30 Sep 2013 at 11:59

GoogleCodeExporter commented 8 years ago
I am working with & found the same problem. Can any one test the code with 
Arduino due board option. version 1.5.6-r2

Original comment by dvj...@gmail.com on 11 May 2014 at 3:22