Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cluelessperson/bcedfb0fac5a1fe435879c115c727e74 to your computer and use it in GitHub Desktop.
Save cluelessperson/bcedfb0fac5a1fe435879c115c727e74 to your computer and use it in GitHub Desktop.
#include "Arduino.h"
#include "common/common.h"
#include "EEPROM.h"
Task* wifi_task = nullptr; // monitor and reconnect wifi
Task* led_task = nullptr; // move leds toward target color
CRGB color; // target color
void setup() {
leds_setup();
wifi_task = wifi_setup(ts);
server_setup();
}
void loop() {
ts.execute();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment