I just purchased the Wifi 2.0 shield without antenna...
Nothing will compile
So i thought it was me, so i redownloaded arduino IDE 0021, i still also have 0018
I downloaded WiServer, i downloaded Wifishield lib 1.3
Put all in the right directories
Went to File / Examples/ WiServer/ SimpleServer
Anything in examples will not complete all come back with
E:\arduino-0021\libraries\WiShieldLib\g2100.c: In function 'zg_init':
E:\arduino-0021\libraries\WiShieldLib\g2100.c:63: error: 'PRR0' undeclared (first use in this function)
E:\arduino-0021\libraries\WiShieldLib\g2100.c:63: error: (Each undeclared identifier is reported only once
E:\arduino-0021\libraries\WiShieldLib\g2100.c:63: error: for each function it appears in.)
E:\arduino-0021\libraries\WiShieldLib\g2100.c: In function 'zg_drv_process':
E:\arduino-0021\libraries\WiShieldLib\g2100.c:518: error: 'PORTL' undeclared (first use in this function)
All i want to do is make my little board blink an LED from a webpage...
That's all not to much to ask for... any help would be appreciated. Now i'm kind of stuck without any direction.. I've read the wiki, there were 0 *.o files to delete. i've restarted IDE many times to make sure .h files were correct
Not thoroughly enough (I had the same problem), the wiki does state that you need to recompile the library to suit the way you're going to use it (it is a rather.. huge library, afterall).
In the library directory there is a file called apps-conf.h
You need to edit this file, for the simpleclient and simpleserver examples, you need to use the following defines: (comment the lines that are commented here, uncomment the line that is uncommented)
Also, a quirk you may discover (like I have), even if you remove the jumper for the LED, the library will still send out the control signal to it. This means that after the wishield connects to your network, it will send a digitalWrite(HIGH) to pin9, so make sure not to use this pin before the wishield finishes to connect with your network, so you can safely use it without it 'randomly' being put HIGH.
sorry to dig this up, but I'm interested in something Imahilus says about the wishield's use of pin 9.
I need 4 PWM outputs for my project. If the wifi chip needs pins 10, 11, 12 and 13, that only leaves pins 3,5,6 & 9 with PWM. Can 9 still be used even though it is meant to be connected to the LED?