This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
start [2022/04/18 10:47] admin |
start [2022/04/19 14:06] (current) admin [Millis not Delay] |
||
---|---|---|---|
Line 1: | Line 1: | ||
Good stuff to follow. | Good stuff to follow. | ||
- | ====== Millis not Delay | + | ====== Millis not Delay ====== |
<code> | <code> | ||
Line 7: | Line 7: | ||
void setup() | void setup() | ||
{ | { | ||
- | eventInterval=5000 // 5 seconds | + | eventInterval=5000; // 5 seconds |
previousTime=millis(); | previousTime=millis(); | ||
} | } |