From af47e76d6801c42d70546f92356dc9266072326e Mon Sep 17 00:00:00 2001 From: Corban Mailloux Date: Fri, 26 Aug 2016 17:32:30 -0400 Subject: [PATCH] Cleanup. --- mqtt_esp8266_brightness.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mqtt_esp8266_brightness.ino b/mqtt_esp8266_brightness.ino index 73c7302..e99f3c6 100644 --- a/mqtt_esp8266_brightness.ino +++ b/mqtt_esp8266_brightness.ino @@ -26,8 +26,8 @@ const char* mqtt_password = "{MQTT-PASSWORD}"; const char* client_id = "ESPBrightnessLED"; // Must be unique on the MQTT network // Topics -const char* light_state_topic = "home/rgb1"; -const char* light_set_topic = "home/rgb1/set"; +const char* light_state_topic = "home/brightness1"; +const char* light_set_topic = "home/brightness1/set"; const char* on_cmd = "ON"; const char* off_cmd = "OFF"; @@ -264,7 +264,7 @@ void setColor(int inR) { //, int inG, int inB) { // analogWrite(bluePin, inB); Serial.println("Setting LEDs:"); - Serial.print("r: "); + // Serial.print("r: "); Serial.println(inR); // Serial.print(", g: "); // Serial.print(inG);