ESPHome 2025.9.0-dev
Loading...
Searching...
No Matches
fs3000.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace fs3000 {
9
10// FS3000 has two models, 1005 and 1015
11// 1005 has a max speed detection of 7.23 m/s
12// 1015 has a max speed detection of 15 m/s
14
16 public:
17 void setup() override;
18 void update() override;
19
20 void dump_config() override;
21
22 void set_model(FS3000Model model) { this->model_ = model; }
23
24 protected:
26
27 uint16_t raw_data_points_[13];
29
30 float fit_raw_(uint16_t raw_value);
31};
32
33} // namespace fs3000
34} // namespace esphome
This class simplifies creating components that periodically check a state.
Definition component.h:425
float fit_raw_(uint16_t raw_value)
Definition fs3000.cpp:74
void set_model(FS3000Model model)
Definition fs3000.h:22
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
Base-class for all sensors.
Definition sensor.h:59
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7