Welcome to the wonderful world of Arduino 1.0100% of the pre 1.0 libraries break and won't compile with the 1.0 release.Better get used to it.I attached an updated library for you.The changes are minimal to make it work for pre 1.0 and 1.0but this is an example of how Arduino 1.0 breaks all the existing pre 1.0 libraries.Study it for how to correct issues that will come up on other librariesas this will be a very common problem when using 1.0The other alternative is to simply not upgrade to 1.0There are very few new capabilities in 1.0 and for the most partit simply creates lots of headaches, at least for now.If what you had was working, there is no driving need to upgrade to 1.0With 1.0 your code size will get larger and the available RAM for your sketch is reduced as the Arduino 1.0 core code is now larger and more RAM intensive especiallyif you use the Serial class for the hardware serial ports.--- bill
I am aware version 1.0 is giving some headaches but sooner or later we will have to fall into it.
I will not look into the changes to learn from it.
thanks Mario.btw, is there a guide on how to migrate a sketch from pre1.0 to 1.0 when referring to the ethernet library?
bperrybap: while I appreciate your help in updating this library for Arduino 1.0, I wish you wouldn't spread so much negative FUD about the 1.0 release. Plenty of people have downloaded and are using it with little or no problems. I've actually been surprised at how few people seem to be running into issues and how quickly many libraries have been updated. While the release and its process certainly weren't perfect, it seems to be working well for many people. Plus, there are lots of nice new features / changes that make it worth upgrading.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16