diff --git a/components/custom_monochromatic/monochromatic_light_output.h b/components/custom_monochromatic/monochromatic_light_output.h index 2245320..bcbeb21 100644 --- a/components/custom_monochromatic/monochromatic_light_output.h +++ b/components/custom_monochromatic/monochromatic_light_output.h @@ -57,7 +57,7 @@ public: void loop() { uint8_t data = 10; this->read_register(0x0, &data, 0x1); - /* ESP_LOGI(TAG, "READ value: %d", data); */ + ESP_LOGI(TAG, "READ value: %d", data); if (data != 0) { if (data & 1) { this->set_state(Off); @@ -73,12 +73,12 @@ public: if(this->state_ == Auto) { if(data & 8){ // TODO: turn on led - /* ESP_LOGI(TAG, "Auto On"); */ + ESP_LOGI(TAG, "Auto On"); this->upper_->set_level(this->bright_); this->lower_->set_level(this->bright_); } else{ - /* ESP_LOGI(TAG, "Auto Off"); */ + ESP_LOGI(TAG, "Auto Off"); this->upper_->set_level(0.0); this->lower_->set_level(0.0); }