void app_main()
{
nvs_flash_init();
- system_init();
xTaskCreate(&hello_task, "hello_task", 2048, NULL, 5, NULL);
}
void app_main()
{
nvs_flash_init();
- system_init();
xTaskCreate(&blink_task, "blink_task", 512, NULL, 5, NULL);
}
void app_main()
{
nvs_flash_init();
- system_init();
initialise_wifi();
xTaskCreate(&http_get_task, "http_get_task", 2048, NULL, 5, NULL);
}
void app_main()
{
nvs_flash_init();
- system_init();
initialise_wifi();
xTaskCreate(&https_get_task, "https_get_task", 8192, NULL, 5, NULL);
}
static void obtain_time(void)
{
nvs_flash_init();
- system_init();
initialise_wifi();
xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT,
false, true, portMAX_DELAY);