ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
max6956_led_output.cpp
Go to the documentation of this file.
3#include "esphome/core/log.h"
4
5namespace esphome::max6956 {
6
7static const char *const TAG = "max6956_led_channel";
8
10
12
15 this->turn_off();
16}
17
19 ESP_LOGCONFIG(TAG, "MAX6956 current:");
20 ESP_LOGCONFIG(TAG, " MAX6956 pin: %d", this->pin_);
21 LOG_FLOAT_OUTPUT(this);
22}
23
24} // namespace esphome::max6956
void digital_write(uint8_t pin, bool value)
Definition max6956.cpp:49
void set_pin_brightness(uint8_t pin, float brightness)
Definition max6956.cpp:112
void pin_mode(uint8_t pin, gpio::Flags flags)
Definition max6956.cpp:54
void write_state(float state) override
virtual void turn_off()
Disable this binary output.
bool state
Definition fan.h:2