Created Wed, 04 Jul 2012 10:41:36 +0000 by pablo
Wed, 04 Jul 2012 10:41:36 +0000
I'm not very good at programming and I would like some advice. I want to choose in a html page if the led has to be on or off. When I press submit, that info has to be registered somewhere in order to get it from my chipkit to put on or off the led. Is this possible??How could I do it?
I have attached an html called index.html to show you more or less what I'm talking about.The extension html is not allowed, so I've uploaded as .zip
Thu, 05 Jul 2012 17:01:11 +0000
This is totally possible. You have to parse the 'GET' message that goes back to the Max32.
Try adding the following line of code in your sketch after the char c = client.read();
Then you will see the http 'GET' request in the serial terminal.
Fri, 06 Jul 2012 08:08:47 +0000
Thank you Jacob!!
I'll try it asap ;)
Mon, 09 Jul 2012 16:17:27 +0000
If you need more information here are some great tutorials for the arduino ethernet shield.
This one is for the Server: [url]http://bildr.org/2011/06/arduino-ethernet-pin-control/[/url]
And this for the client: [url]http://bildr.org/2011/06/arduino-ethernet-client/[/url]
I think the top one is more what your looking for but they both have pretty useful information.
Hope this helps