Files
2026-08-05 11:51:54 +02:00

19 lines
497 B
C

#ifndef CONFIG_H
#define CONFIG_H
// MQTT broker settings (leave MQTT server values as needed)
#define MQTT_SERVER "192.168.1.53"
#define MQTT_PORT 1883
#define MQTT_TOPIC_CMD "dcc/command"
#define MQTT_TOPIC_STATUS "dcc/status"
#define MQTT_TOPIC_RESPONSE "dcc/response"
// Pin used for DCC output (LM18200 IC or similar)
#define DCC_DIR_PIN 27
#define DCC_PWM_PIN 26
// Access point SSID shown when no WiFi credentials are configured
#define DEFAULT_AP_SSID "DCC_Config"
#endif // CONFIG_H