carturo124 / simple-modbus

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

Error compiling SimpleModbusSlaveArduino on EDi 1.0.5 #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load SimpleModbusSlaveArduino from SimpleModbusSlaveV7
2. Compile in Arduino IDE v 1.0.5
3. resulting in the following error:

SimpleModbusSlaveArduino.ino: In function 'void setup()':
SimpleModbusSlaveArduino:80: error: 'modbus_configure' was not declared in this 
scope
SimpleModbusSlaveArduino.ino: In function 'void loop()':
SimpleModbusSlaveArduino:91: error: 'modbus_update' was not declared in this 
scope

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.
Trying to get SimpleModbusMasterV10 and SlaveV7 on 2 UNOs to talk thru MAX487 
chips per your MAX487 schematic.

Thanks
-=Ryan

Original issue reported on code.google.com by rander...@gmail.com on 18 Oct 2013 at 2:36

GoogleCodeExporter commented 8 years ago
Nevermind... got it to work.  For some reason the SimpleModbusSlave.h was in a 
folder under another folder names SimpleModbusSlave.

Original comment by rander...@gmail.com on 18 Oct 2013 at 2:42

GoogleCodeExporter commented 8 years ago
Cool.

Original comment by bester.j...@gmail.com on 22 Oct 2013 at 7:49

GoogleCodeExporter commented 8 years ago
I am having the same problem.  The path to my Modbus Slave header file is 
"C:\Program Files (x86)\Arduino\libraries\ModbusSlave\ModbusSlave".  

I'm not a super strong programmer.  My understanding is that the program is 
having difficulty finding the declarations in the header files.  

I changed the path to "C:\Program Files (x86)\Arduino\libraries\ModbusSlave" 
but it returned an error saying that the header file didn't exist along the 
"C:\Program Files (x86)\Arduino\libraries\ModbusSlave\ModbusSlave" path.  

Any help or clarification would be greatly appreciated.  

Original comment by tyler.tb...@gmail.com on 17 Sep 2014 at 12:25

Attachments: