ESPHome  2024.5.2
jsn_sr04t.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 
8 
9 namespace esphome {
10 namespace jsn_sr04t {
11 
13  public:
14  // Nothing really public.
15 
16  // ========== INTERNAL METHODS ==========
17  void update() override;
18  void loop() override;
19  void dump_config() override;
20 
21  protected:
22  void check_buffer_();
23 
24  std::vector<uint8_t> buffer_;
25 };
26 
27 } // namespace jsn_sr04t
28 } // namespace esphome
This class simplifies creating components that periodically check a state.
Definition: component.h:283
std::vector< uint8_t > buffer_
Definition: jsn_sr04t.h:24
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7
Base-class for all sensors.
Definition: sensor.h:57