31 void setup()
override;
void set_range(QMC5883LRange range)
void set_datarate(QMC5883LDatarate datarate)
sensor::Sensor * heading_sensor_
Helper class to request loop() to be called as fast as possible.
void set_oversampling(QMC5883LOversampling oversampling)
sensor::Sensor * x_sensor_
This class simplifies creating components that periodically check a state.
HighFrequencyLoopRequester high_freq_
enum esphome::qmc5883l::QMC5883LComponent::ErrorCode error_code_
float get_setup_priority() const override
sensor::Sensor * z_sensor_
bool read_byte_16_(uint8_t a_register, uint16_t *data)
void set_z_sensor(sensor::Sensor *z_sensor)
sensor::Sensor * temperature_sensor_
void set_x_sensor(sensor::Sensor *x_sensor)
void dump_config() override
void set_heading_sensor(sensor::Sensor *heading_sensor)
void set_y_sensor(sensor::Sensor *y_sensor)
Implementation of SPI Controller mode.
Base-class for all sensors.
QMC5883LDatarate datarate_
QMC5883LOversampling oversampling_
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
This Class provides the methods to read/write bytes from/to an i2c device.
sensor::Sensor * y_sensor_