IO interface with Arduino over Ethernet

More
6 years 3 months ago #173488 by mariusl
It would seem that you have some issue with your Arduino IDE setup or paths. I have not compiled the code in a long time but it worked and many other tested it as well. I will load it now and test.

Regards
Marius


www.bluearccnc.com

The following user(s) said Thank You: gerritv

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #173490 by mariusl
I copied the text contents from the file on this forum and pasted it into a new project. It compiled with no issues.


I can only think that you have something funny on your Adruino setup. Dont know how to help.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago - 6 years 3 months ago #173517 by BosniaCNC
Thank you for the reply.
I am just looking for the cause and I see that there are differences in the definitions:
UdpioMEGA.ino : #define UDP_TX_PACKET_MAX_SIZE 1506
Ethernet.h : #define UDP_TX_PACKET_MAX_SIZE 24
Udpcomms :there is no definition
I see that there are significant differences in the files that are posted:
1. forum.arduino.cc/index.php?topic=474206.0
and
2. forum.linuxcnc.org/24-hal-components/287...rnet?start=40#173488
There may be a problem with the Arduino IDE version as well as the Ethernet library.
What version of the Arduino IDE did you use?
There are differences in the syntax of different versions and I have experienced this several times that version 1.5.xx compiles without error and 1.8.xx throws out a bunch of errors.
Can you attach the ethernet library you are currently using?
Thank you very much!
Regards,
S.M. (BosniaCNC)

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Last edit: 6 years 3 months ago by BosniaCNC.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #173526 by mariusl
I have not seen the ported code so I cannot comment on that. I am using the latest version of Arduino that I downloaded last week. The Ethernet library is built in so whatever they have on the latest release.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #173527 by BosniaCNC
All right. I download the newer version (1.8.13) and repeat the compilation.
I report the result.
Regards,
BosniaCNC

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago - 6 years 3 months ago #173529 by BosniaCNC
Yes! The latest version!
We at B&H say: "Same target - same distance"!
Attached is a picture.
Regards,
S.M.




Last edit: 6 years 3 months ago by BosniaCNC.

Please Log in or Create an account to join the conversation.

Time to create page: 0.566 seconds
Powered by Kunena Forum