Im Simu-Mode Bedienung über Tastatur

This commit is contained in:
Bernhard
2026-01-24 18:56:30 +01:00
parent 4bde0cc888
commit 450e93982e
8 changed files with 167 additions and 42 deletions

View File

@@ -9,6 +9,7 @@
#define MAX_LINE_LENGTH 256
#define MAX_PATH 256
#define MAX_SHELLIES_COUNT 5
struct APP_SETTINGS
{
@@ -20,6 +21,9 @@ struct APP_SETTINGS
int iMotorPwrMinRaw; // Minimum power value for motor (raw value)
int iMotorPwrMaxRaw; // Maximum power value for motor (raw value)
int iMotorPwrStepCount; // Number of power steps
int iShellySupplyCount; // How many Shellies we have to switch the power supply
char sShellySupplyTopic[MAX_SHELLIES_COUNT][MAX_PATH];
};
extern struct APP_SETTINGS settings;