Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
scott@scottelford.biz  
#1 Posted : Tuesday, June 06, 2017 2:24:52 PM(UTC)
scott@scottelford.biz

Rank: Advanced Member

Groups: Registered
Joined: 5/31/2017(UTC)
Posts: 67
Australia

Thanks: 1 times
Is it possible to add a library for Ethernet?
Until then, how do I go about including the Ethernet library into my code?
And were in the tree structure does the library have to go?
Also would it be possible to be able to add in an edit window, so the IP address can be added / changed with out having to open the code window and change a base IP address eg: (000.000.000.000)

Edited by user Tuesday, June 06, 2017 2:29:43 PM(UTC)  | Reason: Update more info

EmbrioAdmin  
#2 Posted : Thursday, June 08, 2017 12:41:51 PM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 654

Thanks: 1 times
Was thanked: 36 time(s) in 33 post(s)
Can you link me to the library you want to use?

To include external files you use the Controller options page, which you get to by either double clicking on the controller icon in the project tree, or using the right click menu on that node.

Any file you add a reference to will be added to a local folder in the controller on disk in case you copy the project to another computer, and when you compile a program all of the referenced files are copied into the same folder as the generated code.

I'm not too familiar with using an Ethernet library, but could you use 4 integer inputs who's max range is changed to 999 and put those together in code to create the IP address?

If you can't get this working, send me a link to the library and I'll see if I can put together a node.

If you do get it working, could you send it to me so I can add it to the library? There's a page for that here, but I noticed it needs to be updated with new instructions. Before pasting the node, copy an instance of the node using the right click menu and selecting "copy with references", then check off the referenced files that need to be included.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error