Blink is like "hello, world". It proves the damn thing works.
The basic Blink sketch should never be deleted from the example sketches.
long previousMillis = 0; // will store last time LED was updated
Then mend it, dear Henry, dear Henry, dear Henry,Then mend it, dear Henry, dear Henry, mend it.
Quote from: retrolefty on Oct 11, 2013, 11:22 pmThe basic Blink sketch should never be deleted from the example sketches.The point was made - it should be removed, and replaced by "Blink without delay", if only to dissuade newbies from proceeding to use the "delay" function in serious projects. "Blink without delay" is no less effective in demonstrating that the board works, and certainly no more difficult to compile and load.In a similar vein, I should like to see the "button" examples replaced by ones which have the button connected to ground and using internal pull-ups, to avoid people running live supply rails to external contacts.If the concept of inverted logic needs to be learned earlier than later - so be it!
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