mirror of
https://github.com/marcogll/s23_time-attend-v2.git
synced 2026-01-13 13:25:17 +00:00
first commit
This commit is contained in:
18
Config.h
Normal file
18
Config.h
Normal 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
|
||||
Reference in New Issue
Block a user