diff options
author | Joe Robinson <joe@lc8n.com> | 2019-02-19 23:27:06 +0000 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2019-02-19 23:27:06 +0000 |
commit | 75ee7d3101749462f130274f000339e520b4c696 (patch) | |
tree | 96003106534742a88b67f7d251f5d7913fd16566 | |
parent | 8a6cbc16c200faa926671a6c69df2775983410ee (diff) |
Tidy up
-rw-r--r-- | cricket.ino | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cricket.ino b/cricket.ino index a78091d..e20a96c 100644 --- a/cricket.ino +++ b/cricket.ino @@ -8,15 +8,14 @@ #define WIFI_PASS "PASS" WiFiClient wifiClient; -#define MQTT_ID "cricket1" -#define MQTT_BROKER "192.168.0.59" +#define MQTT_ID "ID" +#define MQTT_BROKER "BROKER" PubSubClient mqttClient(wifiClient); #define DHTPIN 5 //Pin D1 #define DHTTYPE DHT22 //Temp and Humidity Sensor #define ANALOG_PIN 17 - DHT dht(DHTPIN, DHTTYPE); void setup() { |