FastLED 3.9.15
Loading...
Searching...
No Matches
ServerReal.h File Reference
#include "fl/stl/asio/http/server.h"
#include <FastLED.h>
+ Include dependency graph for ServerReal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DATA_PIN   2
 
#define NUM_LEDS   10
 

Enumerations

enum  ServerState {
  STARTING , RUNNING , REQUEST_RECEIVED , RESPONDED ,
  ERROR
}
 

Functions

void autoReset ()
 
void loop ()
 
void setup ()
 
void updateLEDs ()
 

Variables

fl::u32 lastEventTime = 0
 
fl::CRGB leds [NUM_LEDS]
 
fl::HttpServer server
 
ServerState state = STARTING