first commit

This commit is contained in:
Marco Gallegos
2025-12-24 16:57:32 -06:00
commit 06719b56a1
14 changed files with 2041 additions and 0 deletions

18
Config.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef CONFIG_H
#define CONFIG_H
#include <Arduino.h>
#include <LittleFS.h>
#include <ArduinoJson.h>
struct Config {
char ssid[32];
char password[64];
char webhookUrl[256];
char deviceName[32];
};
void saveConfig(const Config& config);
bool loadConfig(Config& config);
#endif // CONFIG_H