ESPHome 2025.5.0
Loading...
Searching...
No Matches
max6956_led_output.cpp
Go to the documentation of this file.
3#include "esphome/core/log.h"
4
5namespace esphome {
6namespace max6956 {
7
8static const char *const TAG = "max6956_led_channel";
9
11
13
16 this->turn_off();
17}
18
20 ESP_LOGCONFIG(TAG, "MAX6956 current:");
21 ESP_LOGCONFIG(TAG, " MAX6956 pin: %d", this->pin_);
22 LOG_FLOAT_OUTPUT(this);
23}
24
25} // namespace max6956
26} // namespace esphome
void digital_write(uint8_t pin, bool value)
Definition max6956.cpp:51
void set_pin_brightness(uint8_t pin, float brightness)
Definition max6956.cpp:114
void pin_mode(uint8_t pin, gpio::Flags flags)
Definition max6956.cpp:56
void write_state(float state) override
virtual void turn_off()
Disable this binary output.
bool state
Definition fan.h:0
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7