Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanmailloux committed Aug 26, 2016
1 parent 9d9ac9e commit af47e76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mqtt_esp8266_brightness.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit af47e76

Please sign in to comment.