28 void setup()
override;
bool i2c_read_reg(uint8_t addr, uint8_t &data)
Base class for all switches.
void dump_config() override
bool i2c_write_reg(uint8_t addr, uint8_t data)
void set_rf_mode(bool enabled)
switch_::Switch * rf_power_switch_
void set_sensing_distance(int distance)
void set_trigger_base(int value)
void set_stage_gain(int value)
int trigger_keep_time_ms_
void set_trigger_keep(int value)
void turn_on()
Turn this switch on.
void set_frequency(int frequency)
int trigger_base_time_ms_
bool reset_hardware_frontend()
void set_rf_power_switch(switch_::Switch *s)
Implementation of SPI Controller mode.
void set_power_consumption(int value)
This Class provides the methods to read/write bytes from/to an i2c device.
void set_protect_time(int value)
void set_poweron_selfcheck_time(int value)