MCPcopy Create free account
hub / github.com/FastLED/FastLED / autoReset

Function autoReset

examples/Asio/Server/ServerReal.h:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void autoReset() {
71 // Auto-reset flash states to RUNNING after 200ms
72 if ((state == REQUEST_RECEIVED || state == RESPONDED) &&
73 (fl::millis() - lastEventTime > 200)) {
74 state = RUNNING;
75 }
76}
77
78void setup() {
79 Serial.begin(115200);

Callers 1

loopFunction · 0.85

Calls 1

millisFunction · 0.50

Tested by

no test coverage detected