diff --git a/controller/mixercontroller_w5100_pio/platformio.ini b/controller/mixercontroller_w5100_pio/platformio.ini index ee561a4..f807bba 100644 --- a/controller/mixercontroller_w5100_pio/platformio.ini +++ b/controller/mixercontroller_w5100_pio/platformio.ini @@ -16,35 +16,7 @@ framework = arduino monitor_speed = 9600 lib_deps = - # Using library Id - 28 - # Using library Name - Adafruit NeoPixel - # Depend on specific version Adafruit NeoPixel@1.3.5 - # Semantic Versioning Rules - Adafruit NeoPixel@^1.3.5 - Adafruit NeoPixel@~1.3.5 - Adafruit NeoPixel@>=1.3.5 - - # Using library Id - 89 - # Using library Name - PubSubClient - # Depend on specific version PubSubClient@2.7 - # Semantic Versioning Rules - PubSubClient@^2.7 - PubSubClient@~2.7 - PubSubClient@>=2.7 - - # Using library Id - 129 - # Using library Name - Encoder - # Depend on specific version Encoder@1.4.1 - # Semantic Versioning Rules - Encoder@^1.4.1 - Encoder@~1.4.1 - Encoder@>=1.4.1 \ No newline at end of file + \ No newline at end of file diff --git a/controller/mixercontroller_w5100_pio/src/main.cpp b/controller/mixercontroller_w5100_pio/src/main.cpp index cf297d4..ac045c4 100644 --- a/controller/mixercontroller_w5100_pio/src/main.cpp +++ b/controller/mixercontroller_w5100_pio/src/main.cpp @@ -14,6 +14,9 @@ #include #endif +#define MQTTBROKER "10.0.0.1" +#define MQTTPORT 1883 + void reconnect(); uint32_t Wheel(byte WheelPos); boolean srRead(uint8_t pbit); @@ -209,7 +212,7 @@ void setup() { // setup mqtt client Serial.println("Conf MQTT"); mqttClient.setClient(ethClient); - mqttClient.setServer("10.0.0.1", 1883); + mqttClient.setServer(MQTTBROKER, MQTTPORT); Serial.println("MQTT ok"); mqttClient.setCallback(callback); }