ESP32 Task

i found this → https://learn.sparkfun.com/tutorials/li … isplay/all and i uploaded it to my ESP32 and it worked! great… now when i also put in my code for controlling my LED’s and put that inside the void loop() the spotify script stops going / working!

the sparkfun script uses Task:

xTaskCreatePinnedToCore(
             Task1code, /* Task function. */
             "Task1",   /* name of task. */
             10000,     /* Stack size of task */
             NULL,      /* parameter of the task */
             0,         /* priority of the task */
             &Task1,    /* Task handle to keep track of created task */
             0);        /* pin task to core 0 */

i’ve never worked with Tasks on an ESP32 “TaskCreatePinnedToCore” how can this be fixed to run with my code?

Hello,

To make sure I’m understanding correct, your loop() has display.display(15); inside, or a different line of code?