# ESP32 parallel function

**URL:** <https://forum.arduino.cc/t/esp32-parallel-function/1026438>\
**Category:** Programming\
**Created:** [August 28, 2022, 11:12am UTC](https://forum.arduino.cc/t/esp32-parallel-function/1026438 "2022-08-28T11:12:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mrburnette](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mrburnette/32/702556_2.png) [@mrburnette](https://forum.arduino.cc/u/mrburnette)\
**Post date:** [August 28, 2022, 1:06pm UTC](https://forum.arduino.cc/t/esp32-parallel-function/1026438/4 "2022-08-28T13:06:23Z")

</div>

> [@Tiziano\_Faverzani](#):
>
> My goal is that in the main loop something is going in loop, and in a parallel function, something

Your lucky day:

> [@ESP32 - using 2nd core](https://forum.arduino.cc/t/esp32-using-2nd-core/931913/3):
>
> ESP32 Arduino core from here: [https://github.com/espressif/arduino-esp32](https://github.com/espressif/arduino-esp32) by default runs the RF/radio/protocols on CORE0 while the Arduino code runs on CORE1. For most scenarios, this scheme works reasonably well. I reworked Neil Kolban's example a few years ago for an article I wrote, I think it simplifies things la bit by using an Arduino multi-tab example: /\* This sketch runs the same load on both cores of the ESP32 ArduinoIDE 1.8.5 Linux Mint 18.3 Sketch uses 162569 bytes (…

Yes, the ESP32 has 3 cores.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/2/e/b/2eb4ef44c7cee6a51b6945281e7e40cd2c1c69e0.png)

---

_[View the full topic](https://forum.arduino.cc/t/esp32-parallel-function/1026438)._
