ESP32 Task
Posted: Sun Mar 29, 2020 12:34 pm
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:
i've never worked with Tasks on an ESP32 "TaskCreatePinnedToCore" how can this be fixed to run with my code?
the sparkfun script uses Task:
Code: Select all
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 */