Hi, I have the trouble, I bought another ESP32, because mi DOIT ESP32 KIT V1 is damaged.
In my country I can't find another ESP-32 with NODE MCU format, but I found a Wemos D1 R32, with Arduino board format.
Its code is like this post: ESPPWROO32.
I was trying to program in both "Cores" but this chip probably is single core because I had many Core 1 register dump.
I used this code:
Code: Select all
TaskHandle_t Task1;
void setup()
{
xTaskCreatePinnedToCore(
loop2,
"Task_1",
1000,
NULL,
1,
&Task1,
0);
Serial.begin(115200);
}
void loop()
{
Serial.println("Core # -> " + String(xPortGetCoreID()));
delay(1000);
}
void loop2(void *parameter)
{
for(;;)
{
Serial.println("\t\t\tCore # -> " + String(xPortGetCoreID()));
delay(1000);
}
vTaskDelay(10);
}
Maybe this is another problem with this "fake chip".
Regards