Thursday 12 November 2020

Using Arduino Millis() Function for Multi-tasking

This tutorial covers performing Multitasking with Arduino millis function. Generally a delay() function is used in Arduino for a periodic task like LED Blinking but this delay() function halt the program for some definitive time and don’t allow other operations to perform. So this article explains how we can avoid use of delay() function and replace it with millis() to perform more than one tasks simultaneously and make the Arduino a Multitasking controller. Before going into detail let’s start with understating Multitasking.

To learn how to make the circuit and write code for performing multitasking in the this detailed Arduino Millis tutorial

Below you can watch the demonstration video:

No comments:

Post a Comment