Chat freely about anything...

User avatar
By martinayotte
#23641 The ArduinoIDE for ESP is using system_os_task() to get the loop() task working. You can take a look at file esp8266/cores/esp8266/core_esp8266_main.cpp. Maybe you can create a new task the same way.
Or, you can use some pseudo threads on top of it, like https://github.com/ivanseidel/ArduinoThread