Alternatives to delay() - General Guidance - Arduino Forum
hi, just built my first project with Arduino. Was hoping to optimize it in a few ways (reduce global variables, lesser string variables etc. ) when i stumbled upon a few posts saying that delay() was for beginners and that millis() was more useful when multi-tasking. . . although using either is entirely dependent on the context of the application. I use delay() several times in my project . . .
more
|