19 lines
257 B
C++
19 lines
257 B
C++
#include "Patrix.h"
|
|
|
|
void setup() {
|
|
delay(500);
|
|
Log.printf("\n\n\nStartup\n");
|
|
wifiConnect();
|
|
}
|
|
|
|
void loop() {
|
|
wifiLoop();
|
|
mqttLoop();
|
|
if (isSetupTimeAfterBootDelay()) {
|
|
patrixSetup();
|
|
}
|
|
if (isAfterBootDelay()) {
|
|
patrixLoop();
|
|
}
|
|
}
|