fm:
Regarding the arduino SDK version, it is just a question of time that all users will migrate to the new version. I don't like messing with compilation flags to make things compatible, but I can understand the need for it. So for the first versions of the library I will use conditional compilation flags to make the library compliant with the 22 version and the 1.0.
I'm glad to see the support for 0022 (I'm off to try it out on my 1602 display - will report back)
I do think the adoption rate of 1.0 is a great unknown.
I would not underestimate the confusion and frustration that 1.0 is going to create, particularly
given that it is going to break so much existing code.
Think about this:
- 100% of all the existing library code will not work with 1.0 until it is modified
- 1.0 uses more RAM which will cause some sketches to no longer work (and they will fail in crazy ways since it will likely be stack overflows)
- Some APIs have slightly changed (Print class being the most notable) which causes existing sketches to no longer work or compile.
I believe that some folks will simply choose to stay with 0022 instead or even revert back to it from 1.0,
particularly if they as the start to find existing libraries or sketches that don't work with 1.0 or that things
simply are not as stable under 1.0 as they were under 0022.
From a high level perspective, for all it breaks, it really doesn't offer much.
A few IDE GUI changes and overlapped hardware serial output in some situations
at the cost of eating up extra ram, a few new events and timer control is about it.
Yes it does allow some new things going forward but has a very high cost in terms of
backward compatibility.
Adding to the future pain & confusion is that it has not been particularly easy to find the 1.0 beta & release candidates.
To get the best feedback, it should have been prominently offered along side the latest (0022) release so that
people of all skill levels could be trying out the release and reporting feedback.
As it is, I think that 1.0 is getting very little testing by the real end user target audience.
As an example, I find it quite telling that the GLCD v3 library that I maintain
has been downloaded over 2000 times,
and while I have added 1.0 support into that code, I have not released it yet and have not
received a single request for 1.0 support.
So, IMHO, 1.0 will be a mess and create quite a bit of frustration for quite some time once
it is released.
--- bill