system
October 11, 2012, 2:16pm
1
Good day,
I have a problem compiling an example code on the Arduino 1.0 IDE from the Wifly example list.
When i compile it, it has this errors,
cannot declare variable 'client' to be of abstract type 'Client'
I'm using sparkfun's WiFly RN-131C shield. Is it a incompatible library problem or is it something i missed out on?
I will be modifying my code from a Ethernet enabled shield to a WiFly shield. trying to implement the basics which is the webclient sketch first.
Any help here would be appreciated!
Cheers,
Kenneth
system
October 11, 2012, 2:24pm
2
When i compile it
It would be nice it you posted the code. And said what version of the IDE you are using.
system
October 11, 2012, 2:29pm
4
To be fair, he did.
So he did. Missed that. Sorry.
system
October 11, 2012, 2:34pm
5
to be honest, i have no idea what's wrong.
when i compile my program using the ethernet library,
#include <Ethernet.h>
the "Ethernet" will change orange
but now,
#include <WiFly.h>
doesn't change orange! any clues?
i've got the library from here:
system
October 11, 2012, 2:41pm
6
crap, sorry i should have googled it before posting it in here..
I've got a solution, the library i used wasn't compatible with my IDE version.
i've got a working library compatible with my version.
the link for the library for IDE 1.0 is:
apologise for the mistake!
thanks guys! (dxw00d and PaulS)
system
October 11, 2012, 3:41pm
7
doesn't change orange! any clues?
I wouldn't worry too much about the colour coding. It relies on library writers providing files (called keywords.txt) with their libraries. Not everyone does.