Hello,
I would like to perform two tasks in parallel. One of them takes some time to be completed and thus the other one is performed once the first one is completed.
There are multithreading topics mostly for arduino but since Teensy is a more powerful uC I thought there can be better options. I' m still seeking for a solution and If you have suggestions that would be great. Also I attached a simplified version of the code behaves the same.
Looking forward to hearing from you.
View attachment MTN.ino
I would like to perform two tasks in parallel. One of them takes some time to be completed and thus the other one is performed once the first one is completed.
There are multithreading topics mostly for arduino but since Teensy is a more powerful uC I thought there can be better options. I' m still seeking for a solution and If you have suggestions that would be great. Also I attached a simplified version of the code behaves the same.
Looking forward to hearing from you.
View attachment MTN.ino