40 void setup()
override;
void set_range(HMC5883LRange range)
sensor::Sensor * heading_sensor_
Helper class to request loop() to be called as fast as possible.
void dump_config() override
void set_datarate(HMC5883LDatarate datarate)
This class simplifies creating components that periodically check a state.
HighFrequencyLoopRequester high_freq_
void set_oversampling(HMC5883LOversampling oversampling)
sensor::Sensor * x_sensor_
HMC5883LOversampling oversampling_
enum esphome::hmc5883l::HMC5883LComponent::ErrorCode error_code_
void set_z_sensor(sensor::Sensor *z_sensor)
Implementation of SPI Controller mode.
sensor::Sensor * z_sensor_
Base-class for all sensors.
void set_y_sensor(sensor::Sensor *y_sensor)
void set_x_sensor(sensor::Sensor *x_sensor)
float get_setup_priority() const override
HMC5883LDatarate datarate_
This Class provides the methods to read/write bytes from/to an i2c device.
void set_heading_sensor(sensor::Sensor *heading_sensor)
sensor::Sensor * y_sensor_