Ajout gestion LM18220
This commit is contained in:
+4
-3
@@ -2,14 +2,15 @@
|
||||
#define CONFIG_H
|
||||
|
||||
// MQTT broker settings (leave MQTT server values as needed)
|
||||
#define MQTT_SERVER "192.168.1.10"
|
||||
#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 simulated DCC output (adjust as needed)
|
||||
#define DCC_OUTPUT_PIN 27
|
||||
// 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"
|
||||
|
||||
Reference in New Issue
Block a user