IO interface with Arduino over Ethernet

More
9 years 6 months ago #92410 by mariusl
Have a look at this post relating to the gwibber problem
forum.linuxcnc.org/24-hal-components/287...t?limitstart=0#84767

More pins are good. The initial code was more of a test case but it would be interesting to see how you did it in the end. Please share your code with us so we can all learn.

Regards
Marius


www.bluearccnc.com

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

More
6 years 3 months ago #173459 by BosniaCNC
I would love to see your comments.
The source code has not been reworked and a bunch of bugs!
Attached images of the Arduino IDE 1.8.13

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

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.

Time to create page: 0.123 seconds
Powered by Kunena Forum