ESPHome
2024.11.0
esphome
esphome
components
hm3301
abstract_aqi_calculator.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
namespace
esphome
{
6
namespace
hm3301 {
7
8
class
AbstractAQICalculator
{
9
public
:
10
virtual
uint16_t
get_aqi
(uint16_t pm2_5_value, uint16_t pm10_0_value) = 0;
11
};
12
13
}
// namespace hm3301
14
}
// namespace esphome
esphome::hm3301::AbstractAQICalculator
Definition:
abstract_aqi_calculator.h:8
esphome::hm3301::AbstractAQICalculator::get_aqi
virtual uint16_t get_aqi(uint16_t pm2_5_value, uint16_t pm10_0_value)=0
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
Generated by
1.8.13