0

The Arduino uses a simple infinite while loop. It works fine for me so far. What are some situations when a more complex RTOS is needed?

user768421
  • 1,187
  • 6
  • 16
  • 28
  • 1
    When you need more complex indepedent programs to run, its time for an OS. – PlasmaHH May 10 '16 at 10:18
  • Is this an EE question? – Andy aka May 10 '16 at 10:40
  • 3
    Everything can be done in an event-loop system. After all, the scheduler of an RTOS *is* an event-loop. But having parallel execution paths can make your work much easier. Try to blink 2 LEDs with frequencies that are not multiples of each other. Then add a software PWM, and polling of a UART. Etc. – Wouter van Ooijen May 10 '16 at 13:06

0 Answers0