Declare it globally, i.e. start of sketch.
unsigned long nextBlink
No need to declare a value here.
It is important that it's unsigned, not a regular long, and another nice property is that overflows are handled automagically.
Declare it globally, i.e. start of sketch.
unsigned long nextBlink
No need to declare a value here.
It is important that it's unsigned, not a regular long, and another nice property is that overflows are handled automagically.