ESPHome  2024.11.2
hrxl_maxsonar_wr.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace hrxl_maxsonar_wr {
9 
11  public:
12  // Nothing really public.
13 
14  // ========== INTERNAL METHODS ==========
15  void loop() override;
16  void dump_config() override;
17 
18  protected:
19  void check_buffer_();
20 
21  std::string buffer_;
22 };
23 
24 } // namespace hrxl_maxsonar_wr
25 } // namespace esphome
void loop() override
HRXL sensors output the format "R1234\r" at 6Hz The 1234 means 1234mm XL sensors output the format "R...
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
Base-class for all sensors.
Definition: sensor.h:57