Arduino + Wifi Shield 2.0

Hi everyone,

I have simple question for you, hope you can help me !
I own a WiShield 2.0 and an Arduino. I'd like to write a piece of code that check the content of a webpage and turns on/off a red led.

The webpage is totally empty except for a number.
I can have a 1, and therefore I want to turn my led on. Then I can have a 0, and my led should turns off.

Anyone has suggestions? I read the example files on the library but they seems too advanced and I don't get how to write a simple sketch to do that!

Alberto

The example files should show you how to receive data on the Arduino. Have you tried one of them to confirm that you can get data to the Arduino?

If you can, it is nearly trivial to turn a light on when the received data consists of a '1' and off when it consists of a '0'.