Timeline for Is there a way to pause Program execution?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 15, 2016 at 6:00 | history | tweeted | twitter.com/StackArduino/status/731725915588268032 | ||
| May 15, 2016 at 2:13 | answer | added | Tri | timeline score: 1 | |
| May 14, 2016 at 15:48 | answer | added | Vagish | timeline score: 1 | |
| May 14, 2016 at 15:34 | comment | added | Chris Stratton | You could use a timer interrupt and build your own scheduler, like any preemptive multitasking OS on a single core machine (though resources will be tight). But it is probably better to do your long tasks in pieces, perhaps as state machines that advance one state each time they are called. If the thing that needs to happen in the meantime is simple, perhaps you could just do that in an interrupt on the timer or some relevant occurence (pin change, serial rx, etc) | |
| May 14, 2016 at 12:47 | history | asked | Andy Braham | CC BY-SA 3.0 |