ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
mmc5983.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::mmc5983 {
8
9class MMC5983Component final : public PollingComponent, public i2c::I2CDevice {
10 SUB_SENSOR(x)
11 SUB_SENSOR(y)
12 SUB_SENSOR(z)
13
14 public:
15 void update() override;
16 void setup() override;
17 void dump_config() override;
18};
19
20} // namespace esphome::mmc5983
This class simplifies creating components that periodically check a state.
Definition component.h:532
virtual void update()=0
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:144
bool z
Definition msa3xx.h:1
uint16_t x
Definition tt21100.cpp:5
uint16_t y
Definition tt21100.cpp:6