change broker address
This commit is contained in:
@ -19,8 +19,8 @@ EthernetClient ethClient;
|
|||||||
|
|
||||||
void callback(char* topic, byte* payload, unsigned int length);
|
void callback(char* topic, byte* payload, unsigned int length);
|
||||||
|
|
||||||
// char server[] = "mqttbroker";
|
char server[] = "mqttbroker";
|
||||||
char server[] = "192.168.75.1";
|
// char server[] = "192.168.75.1";
|
||||||
PubSubClient client(server, 1883, callback, ethClient);
|
PubSubClient client(server, 1883, callback, ethClient);
|
||||||
uint8_t disconnectState = 0;
|
uint8_t disconnectState = 0;
|
||||||
uint32_t disconnectTime = 0;
|
uint32_t disconnectTime = 0;
|
||||||
|
Reference in New Issue
Block a user