Skip to main content

Timeline for Using millis(), in nested loops

Current License: CC BY-SA 3.0

15 events
when toggle format what by license comment
Oct 11, 2017 at 16:27 vote accept Tahseen
Oct 8, 2017 at 17:24 history edited Tahseen CC BY-SA 3.0
added 160 characters in body
Oct 8, 2017 at 17:13 answer added Tahseen timeline score: 2
Oct 8, 2017 at 17:04 history edited Tahseen CC BY-SA 3.0
added 1086 characters in body
Oct 8, 2017 at 3:03 answer added VE7JRO timeline score: 1
S Oct 6, 2017 at 6:23 history suggested VE7JRO CC BY-SA 3.0
The person asking the question has added a comment with a "better" description of what they really want.
Oct 6, 2017 at 3:40 review Suggested edits
S Oct 6, 2017 at 6:23
Oct 5, 2017 at 23:18 answer added dannyf timeline score: 0
Oct 5, 2017 at 19:06 answer added ratchet freak timeline score: 1
Oct 5, 2017 at 17:24 comment added Tahseen @Juraj I don't understand what you mean by "timeline schedule". And I cannot use delay, because it's blocking, and this won't go with the rest of the (bigger) program
Oct 5, 2017 at 16:52 comment added Juraj your 'while (millis() - previousMillis < sleep_interval);' is nothing else like delay(sleep_interval). rewrite your code to one main loop, executing lights_on() and lights_off() on 'timeline schedule'
Oct 5, 2017 at 16:50 answer added amorimph timeline score: 1
Oct 5, 2017 at 16:25 comment added gre_gor Post your full code.
Oct 5, 2017 at 15:32 review First posts
Oct 5, 2017 at 15:49
Oct 5, 2017 at 15:29 history asked Tahseen CC BY-SA 3.0