Skip to main content
Arduino

Timeline for Doing several things at the same time with functions, objects or interrupts?

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Feb 15, 2021 at 21:07 vote accept Zhelyazko Grudov
Feb 15, 2021 at 19:24 comment added Zhelyazko Grudov Thank you Davis for the comment
Feb 15, 2021 at 18:51 comment added dandavis as long as you follow the examples, and non of your code uses delay(), it should naturally do many things at once, CPU time and memory allowing. For what you describe, it's hard to imagine even an UNO not being up to task.
Feb 15, 2021 at 18:35 comment added Zhelyazko Grudov Thanks for the link, I'm going through it today.
Feb 15, 2021 at 14:02 answer added Edgar Bonet timeline score: 2
Feb 15, 2021 at 13:37 comment added PMF Please read up about the concept of "real time". This does not mean that something is fast, it just means it is fast enough (based on whatever standards you apply). For instance, if your blinking led has a skew of a few milliseconds, you won't notice - it is irrelevant.
Feb 15, 2021 at 13:28 comment added Edgar Bonet Functions and objects have nothing to do with "doing several things at the same time", they are just ways to encapsulate some logic. In both cases you are doing non-blocking programming. The most useful programming paradigm for non-blocking programming is the finite state machine.
Feb 15, 2021 at 13:23 history edited Edgar Bonet CC BY-SA 4.0
Fix link
Feb 15, 2021 at 13:16 history asked Zhelyazko Grudov CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /