ESPHome  2024.3.1
status_led.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "esphome/core/hal.h"
5 
6 namespace esphome {
7 namespace status_led {
8 
9 class StatusLED : public Component {
10  public:
11  explicit StatusLED(GPIOPin *pin);
12 
13  void pre_setup();
14  void dump_config() override;
15  void loop() override;
16  float get_setup_priority() const override;
17  float get_loop_priority() const override;
18 
19  protected:
21 };
22 
23 extern StatusLED *global_status_led; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
24 
25 } // namespace status_led
26 } // namespace esphome
float get_loop_priority() const override
Definition: status_led.cpp:32
float get_setup_priority() const override
Definition: status_led.cpp:31
StatusLED * global_status_led
Definition: status_led.cpp:10
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7