fix to static library versions because of limited space

This commit is contained in:
interfisch 2020-09-15 19:42:50 +02:00
parent 0848ec82f2
commit b57b58bf93
2 changed files with 5 additions and 30 deletions

View File

@ -16,35 +16,7 @@ framework = arduino
monitor_speed = 9600 monitor_speed = 9600
lib_deps = lib_deps =
# Using library Id
28
# Using library Name
Adafruit NeoPixel
# Depend on specific version
Adafruit NeoPixel@1.3.5 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 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 Encoder@1.4.1
# Semantic Versioning Rules
Encoder@^1.4.1
Encoder@~1.4.1
Encoder@>=1.4.1

View File

@ -14,6 +14,9 @@
#include <avr/power.h> #include <avr/power.h>
#endif #endif
#define MQTTBROKER "10.0.0.1"
#define MQTTPORT 1883
void reconnect(); void reconnect();
uint32_t Wheel(byte WheelPos); uint32_t Wheel(byte WheelPos);
boolean srRead(uint8_t pbit); boolean srRead(uint8_t pbit);
@ -209,7 +212,7 @@ void setup() {
// setup mqtt client // setup mqtt client
Serial.println("Conf MQTT"); Serial.println("Conf MQTT");
mqttClient.setClient(ethClient); mqttClient.setClient(ethClient);
mqttClient.setServer("10.0.0.1", 1883); mqttClient.setServer(MQTTBROKER, MQTTPORT);
Serial.println("MQTT ok"); Serial.println("MQTT ok");
mqttClient.setCallback(callback); mqttClient.setCallback(callback);
} }