ESPHome
2025.11.0b4
Loading...
Searching...
No Matches
esphome
components
es8388
select
adc_input_mic_select.cpp
Go to the documentation of this file.
1
#include "
adc_input_mic_select.h
"
2
3
namespace
esphome
{
4
namespace
es8388 {
5
6
void
ADCInputMicSelect::control
(
size_t
index) {
7
this->
publish_state
(index);
8
this->
parent_
->set_adc_input_mic(
static_cast<
AdcInputMicLine
>
(index));
9
}
10
11
}
// namespace es8388
12
}
// namespace esphome
adc_input_mic_select.h
esphome::Parented< ES8388 >::parent_
ES8388 * parent_
Definition
helpers.h:912
esphome::es8388::ADCInputMicSelect::control
void control(size_t index) override
Definition
adc_input_mic_select.cpp:6
esphome::select::Select::publish_state
void publish_state(const std::string &state)
Definition
select.cpp:12
esphome::es8388::AdcInputMicLine
AdcInputMicLine
Definition
es8388.h:23
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0