81 Serial.println(
"HTTP Server Loopback Test");
102 Serial.println(
"Server started on http://localhost:8080/");
106 Serial.println(
"ERROR: Failed to start server");
123 testRunner.startTests([](
bool success,
int passed,
int total) {
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
LoopbackTestRunner testRunner
Non-blocking HTTP test runner for FastLED loopback testing.
static Response ok(const string &body="")
Factory method for 200 OK response.
void fill_solid(CRGB *targetArray, int numToFill, const CRGB &color) FL_NOEXCEPT
Fill a range of LEDs with a solid color.
LIB8STATIC u8 beatsin8(accum88 beats_per_minute, u8 lowest=0, u8 highest=255, u32 timebase=0, u8 phase_offset=0) FL_NOEXCEPT
Generates an 8-bit sine wave at a given BPM that oscillates within a given range.
void run(fl::u32 microseconds, ExecFlags flags)
Run selected task subsystems.
asio::http::Request http_request
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.
asio::http::Server HttpServer
Representation of an 8-bit RGB pixel (Red, Green, Blue)