Timeline for How to run multiple functions one after another?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 4, 2016 at 22:42 | comment | added | Nick Gammon♦ |
because the MCU starts the first function and not wait for it to finish - well it does wait for it to finish so your observations are flawed. What you think is happening just isn't.
|
|
| Nov 4, 2016 at 20:16 | comment | added | R1S8K | Yes as I mentioned I tried switch case, do while, if and while loops. All the same result. The code you provided would also be the same, because the MCU starts the first function and not wait for it to finish and go to the second function and starts it as well. So the fading does altogether which is another methodology I would prefer as mixing the colors, but now I want to run each function as a complete fade then starts the second function. I want to learn this skill in C. | |
| Nov 4, 2016 at 19:04 | history | answered | JRobert | CC BY-SA 3.0 |