Go Down

Topic: Alternative Blink without Delay (Read 1 time) previous topic - next topic

GoForSmoke

What's the overhead for a function call? Or will the compiler in-line that code?  8)

I like to put my state tests right in loop(). It helps me to see them together.
Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

Go Up