Hello,
do you know which Arduino Board supports multithreading/multitasking?
Thankssssss
Hello,
do you know which Arduino Board supports multithreading/multitasking?
Thankssssss
That will very much depend on what you expect to do with your multithreading/multitasking.
The scheduler library on the Due does simple cooperative multitasking. There are libraries to do this for all the other Arduinos too.
Real multitasking is impossible on the Arduino. Usually you write your program so it appears to be doing several things at one time.
Take a look at [u]Demonstration code for several things at the same time[/u].
Multitasking and multithreading are more of an operating system feature and by default the Arduino doesn't have an operating system. (You just load the complied code and it directly executes.)
It doesn't have much memory space for on OS, but I think some people have installed one... I don't know much about it and I don't know if they installed a multitasking OS.