FastLED 3.9.15
Loading...
Searching...
No Matches
NetTestReal.h File Reference
#include "fl/fetch.h"
#include "fl/warn.h"
#include "fl/async.h"
#include <FastLED.h>
+ Include dependency graph for NetTestReal.h:

Go to the source code of this file.

Macros

#define DATA_PIN   2
 
#define NUM_LEDS   10
 

Functions

void loop ()
 
void setup ()
 
void test_await_approach ()
 
void test_json_await ()
 APPROACH 4: JSON Response with await pattern
Same JSON handling but using await_top_level for synchronous-style code.
 
void test_json_response ()
 APPROACH 3: JSON Response Handling with FastLED's ideal JSON API This demonstrates fetch responses with automatic JSON parsing.
 
void test_promise_approach ()
 

Variables

static int approach_counter = 0
 
static u32 last_request_time = 0
 
CRGB leds [NUM_LEDS]