Problems with WiFly

Hi,

I had similar problems this weekend. It seems that the WiFly library is not updated for Arduino 1.0. This guy did a pull request of the library and has updated it to 1.0:

Seems to be working well for me. Hopefully they will update the library with his updates soon. It also contains updated example code.