>
> Thank you all for input,There is sooth in what you all say and I tend to
> agree.
> However, where does it stop?If it takes longer to write something because
> I don't trust any libraries I waste time writing my own.
> If I trust them, I may need to spend time fixing IF they break (and I know
> that's likely at some point).
> I've done just NOP loops sometimes but it's not as nice as being able to
> specify number of microseconds directly.
> I'm using my timers for other things and I don't want to add ifs when
> triggered either in or outside ISRs.
> I found that the compiler does support "__builtin_avr_delay_cycles" but
> the 20100110 delay.h doesn't use it; there is a new delay.h that uses it
> here:
> http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=100131&postdays=0&postorder=asc&sid=ea59a79d21c3eae4542bb467153721df
> I think some faith can work sometime :-)
> Thanks again,
> Cat
>
> [Non-text portions of this message have been removed]
>
>
Hello, Cat -
What you say is quite important, and it is something that I have struggled
over, finally yielding to the Great Dice Thrower In The Sky. Any time you
use a library function, you really OUGHT to check it. But, if you do, and
find it lacking, what do you do? And, what happens when ANY function in
the library breaks in the future? Even standard, use-it -all- the-time
ones like itoa() can break at some unpredictable time in the future.
You have to trust that the library maintainers will, in fact, look out for
you and me and all the other users. I subscribe the the avrlibc developers
list, or what ever it is called. Those folks go through a lot of agony,
trying to figure out how to fix problems while keeping bad things from
happening to our projects. But, I also know that they are human, and will
occasionally make a poor choice (aka "screw up").
The same is true for all of the other support tools, like MFILE, avrdude
(I hate that name - ! - ), and such. They can break at any time and leave
us in the lurch. But, you know what, commercial tools can have that happen
also (but we pay big dollars for them to try to minimize the odds).
However, that is true for ALL the software we use. You pay your money, you
roll the dice, and you get what you get!
Jim Wagner
Oregon Research Electronics