Hi!
Until now I have use arduino ethernet to send data to a php file and from that file, to a database. I have to problems with that.
But now I want to send data from a webpage (in a xampp server) to arduino ethernet to send that data via xbee to other arduino. I have been reading some tutorials on internet but I am not understanding how to do it. I don't know if my arduino ethernet has to be client, server or what.
I want for example, while keeping pressed a button on my webpage, keep a led on in other arduino (via ethernet-xbee).
I have already done my javascript/html code for webpage. I do calls to arduino using ajax and onmousedown event. But I don't know how to do code on arduino ethernet. (how to receive data)
Do you have a simple example about that? All code I found on internet are so hug and I can't understand it.