| 68 | } |
| 69 | |
| 70 | void 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 | |
| 78 | void setup() { |
| 79 | Serial.begin(115200); |