Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • You write code that does what you want. You never "do two things simultaneously", but write code that just does what you want. You have to understand what your current "two codes" do and how they work before you can try getting them to work together. Commented Jul 10, 2018 at 10:58
  • 2
    Without code it's hard to suggest improvements. Have a look at the blink without delay example (millis to get rid of blocking code like delay). This is what I used to emulate parallel processing. Commented Jul 10, 2018 at 11:01
  • Interrupts are your friend. So are the timer/counters. Commented Jul 10, 2018 at 13:56