Definition at line 358 of file NetTestReal.h.
358 {
359
360
361
362
363 unsigned long current_time = millis();
364
365
366
369
370
373 FL_WARN(
"CYCLE: Demonstrated Promise-based pattern (Green LEDs on success)");
376 FL_WARN(
"CYCLE: Demonstrated Await-based pattern (Blue LEDs on success)");
379 FL_WARN(
"CYCLE: Demonstrated JSON Promise pattern (Blue LEDs on success)");
382 FL_WARN(
"CYCLE: Demonstrated JSON Await pattern (Cyan LEDs on success)");
383 }
384
386
387 FL_WARN(
"NEXT: Will switch to next approach in 10 seconds...");
388 }
389
390
391
392
393
394
395
396
397
398
399
400
401
402 delay(10);
403}
static u32 last_request_time
void test_promise_approach()
void test_json_await()
APPROACH 4: JSON Response with await pattern Same JSON handling but using await_top_level for synch...
void test_await_approach()
void test_json_response()
APPROACH 3: JSON Response Handling with FastLED's ideal JSON API This demonstrates fetch responses wi...
static int approach_counter
References approach_counter, FL_WARN, last_request_time, test_await_approach(), test_json_await(), test_json_response(), and test_promise_approach().