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 compiling SimpleModbusSlaveArduino on EDi 1.0.5 #21

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

Error compiling SimpleModbusSlaveArduino on EDi 1.0.5 #21

GoogleCodeExporter opened this issue Oct 13, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

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 [email protected] on 18 Oct 2013 at 2:36

@GoogleCodeExporter
Copy link
Contributor Author

Nevermind... got it to work.  For some reason the SimpleModbusSlave.h was in a 
folder under another folder names SimpleModbusSlave.

Original comment by [email protected] on 18 Oct 2013 at 2:42

@GoogleCodeExporter
Copy link
Contributor Author

Cool.

Original comment by [email protected] on 22 Oct 2013 at 7:49

  • Removed labels: Priority-Medium, Type-Defect

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 17 Sep 2014 at 12:25

Attachments:

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