mirror of
https://github.com/esphome/esphome.git
synced 2025-07-30 15:16:37 +00:00
preen
This commit is contained in:
parent
3843e4011f
commit
bd20d8b7b2
@ -15,7 +15,7 @@ void SX1509FloatOutputChannel::write_state(float state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SX1509FloatOutputChannel::setup() {
|
void SX1509FloatOutputChannel::setup() {
|
||||||
ESP_LOGD(TAG, "setup pin %d", this->pin_);
|
ESP_LOGD(TAG, "Pin %d", this->pin_);
|
||||||
this->parent_->pin_mode(this->pin_, gpio::FLAG_OUTPUT);
|
this->parent_->pin_mode(this->pin_, gpio::FLAG_OUTPUT);
|
||||||
this->parent_->setup_led_driver(this->pin_);
|
this->parent_->setup_led_driver(this->pin_);
|
||||||
this->turn_off();
|
this->turn_off();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user