Think you should have learned people using Serial prints first, then millis() to simulate a "clock" and then you can learn them blink without delay ...
The eternal debate - teach good habits from the outset vs. get started with the 'simplest' way and learn the 'best' way later.
QuoteThe eternal debate - teach good habits from the outset vs. get started with the 'simplest' way and learn the 'best' way later.I think that delay() is a lazy crutch. Learning to do some things simply/quickly and some things right is possible.If you are going to discuss delay() in lesson n, then millis() and the right way need to be lesson n+1.
My point is not so much if delay() is evil or not, but rather that 'blocking functions' can be evil if you don't understand the concept clearly and impact they can have on ones overall sketch.
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