ArduinoGrenHouse wrote in reply:
If you are using the Arduino IDE I need to confirm that you can simply use my files from Eclipse IDE, which are filename.cpp and filename.h for the header, by renaming them?
I not sure what you mean by this :/
I use Eclipse as my IDE for all my programming, arduino, html, javascript and so on. I haven't used the Arduino IDE for some time now.
My question is more about confirming that the files I use in Eclipse, you can directly use in the Arduino IDE if that is what you use.
I think you may need to change the file extension of cpp to ino, i.e. 'main.cpp' to main.ino' for it to work in Arduino IDE.
Can anybody else confirm this?
If you use Eclipse, then that is great.
I can't attach the files in these posts as some of them exceed the file size that can be use on the forum.
What I propose, is to use dropbox as the file storage location.
To get you started, I have copied the main section of code, where the setup and main loop are. It's not so big.
You need to look at them and start to see if you can make sense of them, they are documented.
Then as you start to understand the various components and can successfully compile it you should be right to make the necessary chamges for your setup.
I am not going to strip stuff out that you may not need, that will be up to you.
The dropbox location is
https://www.dropbox.com/sh/gtjv0k6sos6yuf5/EKzPXRT4zj?mI will continue to clean up the other files over the coming days and pop them into dropbox as well.
Let me know if you can access the two files.
Start a new project and check that you have the libraries listed at the top of main.cpp.
They are Ethernet, EthernetUDP, TimerThree (from the Arduino playground) as well you will need Webduino library from its Github location,
https://github.com/sirleech/Webduino.
Paul