Pages: [1]   Go Down
Author Topic: Changes in the Arduino 1.0 release: How to migrate your existing projects  (Read 2566 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
www.engblaze.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

For anyone that hasn't made the switch to Arduino 1.0 yet, we've put together a guide on what needs to be changed in your existing code to get up and running:

http://www.engblaze.com/changes-in-the-arduino-1-0-release/

This info is available in the release notes and through official sources, but sometimes it's a pain to sift through all of the gritty details.  This article attempts to distill the most important points.  Comments and suggestions are welcome.

Hope you find it useful!
Logged


Central MN, USA
Offline Offline
Tesla Member
***
Karma: 65
Posts: 6928
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

One more subtle change is mentioned in number 2 here on my blog:

http://liudr.wordpress.com/2011/12/26/how-to-update-codes-and-libraries-for-arduino-1-0/

Makezine article on the same subject:

http://blog.makezine.com/archive/2011/12/arduino-1-0-is-out-heres-what-you-need-to-know.html
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 14
www.engblaze.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Liudr,

Thanks for the additional resources.

One note about your blog post: the NewSoftSerial library is now the default SoftwareSerial library included in Arduino 1.0. No need to stop using it or go to Mikal’s website because it’s packaged with the core installation. Anyone who was using it can upgrade and simply change the relevant #include statement (though he actually renamed the latest version “SoftwareSerial” in preparation for the release).
Logged


0
Offline Offline
God Member
*****
Karma: 2
Posts: 596
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I propose to stick this topic.
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 65
Posts: 6928
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I second the proposal.

@engblaze, Thanks. I just looked into the Arduino 1.0 SoftSerial and yes, it is the "NewSoftSerial". Now that both soft and hard serials inherit from Stream, so you can use Stream pointers to handle them both. It's the right direction. It's awesome.
Logged


Pages: [1]   Go Up
Jump to: