Hello,
I’ve been using platformIO for a project that will interface with vending machines.
I have written some code in C with ESP-idf framework also with FreeRTOS. They were purely written in C.
I want to continue using the C files I have already written and I also want to use freeRTOS.
Recently, I wanted to mix some Arduino code into my project (which are I assume C++ codes) because there many libraries that can be easily used such as Wi-Fi, Bluetooth, RFID etc.
How can I use the Arduino libraries with my C codes? I also want to create tasks with Arduino codes in FreeRTOS.
Is there any example where arduino, C++ and C codes are used in conjunction with each other as freeRTOS tasks?
Thank you!
I hope I was clear.