Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Tessie
#92039 Hello,
Arduino only has one CPU, if you want to realize multi-threading on one CPU, it is finally realized by software.
Arduino is a convenient, flexible and easy to use open source electronic prototyping platform, including hardware (various types of Arduino boards) and software (Arduino IDE).
It is built on the open source simple I/O interface version, and has a Processing/Wiring development environment similar to Java and C language.
Look at the actual situation. If there is only one and a half input I/O, you can use a Nano board instead, which has two more analog inputs than UNO.
Therefore, if possible, I personally think that mega2560 is better than UNO+ extended I/O.
User avatar
By QuickFix
#92042
btidey wrote:A simple example of cooperative multithreading in an arduino environment is
https://github.com/bmellstrom/esp8266-arduino-threads

Hmmm, I've been a (high level) Windows application developer for 25 years now, so all hard and technical stuff is there for me to use without even thinking about it, but apparently my knowledge when it comes to microcontrollers and lower level stuff was a bit off.

Learnt something new again, thanks @btidey. :D

@CarmeloLabadie: I stand corrected. ;)