Arduino Sketch Multi Tasking

I am new to the arduino world. Wanted to find out if i can implement project that involve multi tasking on the Arduino cpu boards. Most control projects involve some form of multi tasking for them to work.
Looking foward to your response

Arnold Musoko

Look at Several things at the same time

(deleted)

By multi-tasking I am referring to hyper threading support. Can the Arduino processor run more two processes at the same time?

(deleted)

ansmusoko:
Most control projects involve some form of multi tasking for them to work.

Arnold Musoko

I have severe doubts about this statement.

I assume you are not referring to hyper threading support.
Since you are new to Arduino, I strongly recommend you have a quick read about the hardware spec of the processors, esp. for the UNO board.

In this context, multi-tasking basically means do not waste time waiting for delays.

Start with "blink without delay" and move on from there.

I myself wrote a library back in the day based on that same concept, named SimpleTimer.
There are plenty of similar (probably better) libraries out there that do the same.

Hyperthreading and other parallel processing techniques are used on general-purpose computers that run any software. Your email program should not know or care if you have a spreadsheet open at the same time.

The Arduino is more like "cooperative multitasking" where each task knows that it has to give the other tasks a chance to run. Each task knows which task comes after it, so it calls it directly. You can't just start another task like you can open a spreadsheet.

See Demonstration code for several things at the same time, or if you are in the mood for something a little more C++ish, my super helpful write-up of using objects and time slicing.