Code: Select all
void app_main()
{
gpio_pad_select_gpio(GPIO_NUM_12);
gpio_set_direction(GPIO_NUM_12, GPIO_MODE_OUTPUT);
gpio_set_level(GPIO_NUM_12, 1);
xTaskCreatePinnedToCore(dummy_task, "Dummy", 2048, NULL, 1, NULL, 1);
}
Code: Select all
void app_main()
{
gpio_pad_select_gpio(GPIO_NUM_12);
gpio_set_direction(GPIO_NUM_12, GPIO_MODE_OUTPUT);
gpio_set_level(GPIO_NUM_12, 1);
xTaskCreatePinnedToCore(dummy_task, "Dummy", 2048, NULL, 1, NULL, 1);
}
Users browsing this forum: No registered users and 58 guests