32 void setup()
override;
33 void dump_config()
override;
34 void update()
override;
uint16_t unused
10.0um Particle Count
uint16_t particles_25um
1.0um Particle Count
const float DATA
For components that import data from directly connected sensors like DHT.
void set_pmc_10_0_sensor(sensor::Sensor *pmc_10_0)
uint16_t pm10_standard
Standard PM1.0.
uint16_t pm10_env
Environmental PM1.0.
uint16_t particles_05um
0.3um Particle Count
This class simplifies creating components that periodically check a state.
uint16_t pm25_standard
Standard PM2.5.
void set_pmc_5_0_sensor(sensor::Sensor *pmc_5_0)
uint16_t checksum
Packet checksum.
void set_pmc_0_3_sensor(sensor::Sensor *pmc_0_3)
uint16_t pm25_env
Environmental PM2.5.
void set_pm_1_0_sensor(sensor::Sensor *pm_1_0)
void set_pmc_0_5_sensor(sensor::Sensor *pmc_0_5)
void set_pm_10_0_sensor(sensor::Sensor *pm_10_0)
uint16_t framelen
How long this data chunk is.
float get_setup_priority() const override
void set_pm_2_5_sensor(sensor::Sensor *pm_2_5)
void set_pmc_2_5_sensor(sensor::Sensor *pmc_2_5)
! Structure holding Plantower's standard packet
uint16_t pm100_standard
Standard PM10.0.
uint16_t particles_10um
0.5um Particle Count
Implementation of SPI Controller mode.
Base-class for all sensors.
void set_standard_units(bool standard_units)
This Class provides the methods to read/write bytes from/to an i2c device.
void set_pmc_1_0_sensor(sensor::Sensor *pmc_1_0)
uint16_t particles_50um
2.5um Particle Count
uint16_t particles_100um
5.0um Particle Count
uint16_t pm100_env
Environmental PM10.0.