Added config for web interface.

This commit is contained in:
Holger Weber
2026-02-26 20:29:37 +01:00
parent 3d6144bd7f
commit 803c062e81
3 changed files with 146 additions and 35 deletions

View File

@@ -59,10 +59,13 @@ static const int kDefaultServoPin = 4;
#endif
struct ConfigParameter {
const char *type;
const char *key;
int *value;
void *value;
String description;
int defaultValue;
const char *defaultText;
bool secret;
};
extern FastAccelStepperEngine g_stepEngine;
@@ -98,6 +101,8 @@ extern int g_iPenEnablePin;
extern int g_iServoPin;
extern int g_iRotMicrostep;
extern int g_iPenMicrostep;
extern String g_sWifiSsid;
extern String g_sWifiPassword;
enum ProtocolTransport {
PROTOCOL_TRANSPORT_SERIAL = 0,