I wasn't trying to humiliate anyone either, he asked for comments. The
fact is needing multiple delays in a program is very commonplace and
it's normaly done with a few lines. What the author produced, however
well meaning, was just terrible. Thats not a problem for most people,
Honestly, I hadn't looked at it until now. Since he uses structs and a
long divide, I'm not real surprised on the space requirements.
Personally, I don't use C on a PIC since the hardware is not really up
for it without allot of hoop jumping by the compiler. The 18F type PICs
are more capable in this regard. So to each his own. I've used C on
8052's and I liked it, but it was a good compiler too (keil).
they just delete it in a heartbeat but a real beginner doesn't know any
better. Iv'e shown him how to do it, if he did it again that way he
would see for himself but his pride has been hurt, that was never my
intention, and so he's gone on the defensive. Your right about hardware
engineers messing up software but then again so do software engineers.
Everybody messes up software, 'cept me of course. ;-) I'm surprised
that John seemed to take offense to my comment. I really wasn't trying
to upset anyone, hence the smiley.
I would say that it's pretty selfless of Bruno to maintain a web site
for the benefit of others.