fbpixel
Multitasking with Arduino

Multitasking with Arduino

Multitasking is the ability of a microcontroller to execute several tasks or processes over the same time horizon. In practice, an Arduino cannot execute tasks in parallel, but it can arrange and execute a number of tasks one after the other in a very short space of...
Multitasking program with ESP32 and FreeRTOS

Multitasking program with ESP32 and FreeRTOS

, The NodeMCU ESP32 is based on the Xtensa 32-bit LX6 dual-core microprocessor that embeds the FreeRTOS OS. When using the Arduino IDE, the program runs by default on core 1. To multitask, it is interesting to use all the resources of the microprocessor. In this...
Multitasking program with Arduino Due and Scheduler

Multitasking program with Arduino Due and Scheduler

The Arduino Due board allows multitasking using the Scheduler library. It is based on an ARM Cortex-M3 microcontroller in 32 Bits with 84MHz. It is therefore much more powerful than an Arduino UNO. These characteristics allow it to create more powerful multitasking...
Using the Arduino Timers

Using the Arduino Timers

The use of timers in Arduino is an advanced method to execute code without disturbing the rest of the program. They allow to activate functions at specific time intervals. Timers are used in many libraries in a completely transparent way for the user (millis(),...
Multitasking with Arduino and the FlexiTimer2 library

Multitasking with Arduino and the FlexiTimer2 library

The Arduino FlexiTimer2 library is a library that allows to activate functions at regular time intervals. It allows, as such, to make multitasking programs with Arduino microcontrollers. This method is useful when you want to operate two motors in parallel...