17 void setup()
override;
A class to cache the read state of a GPIO expander.
This Class provides the methods to read/write bytes from/to an i2c device.
void pin_mode(uint8_t pin, gpio::Flags flags)
void set_pwm_value(uint8_t value)
bool digital_read_cache(uint8_t pin) override
void write_pwm_level(float state, uint8_t min_value, uint8_t max_value)
Write an output level, 0.0 to 1.0, clamped to the board's safe PWM range.
void digital_write_hw(uint8_t pin, bool value) override
WaveshareIOCH32V003Component()=default
uint8_t get_rtc_interrupt_status()
void dump_config() override
bool write_gpio_outputs_()
float get_setup_priority() const override
bool digital_read_hw(uint8_t pin) override
ESPHOME_EXPANDER_PIN_SUMMARY_DECL(esphome::waveshare_io_ch32v003::WaveshareIOCH32V003Component)